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; \ + }