use long mode, x86_64-unknown-none works now

This commit is contained in:
andromeda
2026-03-04 22:45:35 +01:00
parent 1b6f76488d
commit 094e8c288a
6 changed files with 211 additions and 133 deletions

View File

@@ -23,7 +23,11 @@ in (naersk'.buildPackage {
release = true;
# build std
cargoBuildOptions = x: x ++ ["-Zbuild-std=core,compiler_builtins,alloc" "-Zbuild-std-features=compiler-builtins-mem"];
cargoBuildOptions = x:
x
++ [
"-Zbuild-std=core,compiler_builtins"
];
postInstall = ''
ld --oformat binary \