diff --git a/.cargo/config b/.cargo/config index fc260d90b229062bade75ce5a9d67c1dd6b39084..20ee1ec977f55c6c891e0f3cb99feab3f36deb81 100644 --- a/.cargo/config +++ b/.cargo/config @@ -3,3 +3,7 @@ rustflags = [ # Kernel should preserve floating-point registers "-Csoft-float", ] + +[unstable] +build-std = ["core", "alloc", "compiler_builtins"] +build-std-features = ["panic-unwind"] diff --git a/targets/x86_64-unknown-none.json b/targets/x86_64-unknown-kernel.json similarity index 100% rename from targets/x86_64-unknown-none.json rename to targets/x86_64-unknown-kernel.json