From a50d09c9b57e78a6e50700511c6c08e58cffaa50 Mon Sep 17 00:00:00 2001 From: Julien THILLARD Date: Fri, 20 Mar 2026 12:24:50 +0100 Subject: [PATCH] Cleans library directory --- .gitignore | 1 + library/.gitignore | 1 - library/std/patches/sys/alloc/mod.sed | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 library/std/patches/sys/alloc/mod.sed diff --git a/.gitignore b/.gitignore index 6ea937b..6a5a4a4 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ disk.img mnt sysroot/lib/rustlib/riscv64 +library/alloc diff --git a/library/.gitignore b/library/.gitignore index e958848..18f713d 100644 --- a/library/.gitignore +++ b/library/.gitignore @@ -1,6 +1,5 @@ Cargo.lock Cargo.toml -alloc alloctests backtrace compiler-builtins diff --git a/library/std/patches/sys/alloc/mod.sed b/library/std/patches/sys/alloc/mod.sed new file mode 100644 index 0000000..22d2e31 --- /dev/null +++ b/library/std/patches/sys/alloc/mod.sed @@ -0,0 +1,3 @@ +109a \ target_os = "survos" => { \ + mod survos; \ + }