diff --git a/.cargo/config.toml b/.cargo/config.toml index b0a76ea..b9bb421 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,5 @@ [target.'cfg(target_os = "linux")'] rustflags = ["-C", "link-arg=-nostartfiles"] + +[unstable] +build-std = ["core", "compiler_builtins"] diff --git a/Cargo.toml b/Cargo.toml index c9e3ce8..063355c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,10 +7,3 @@ edition = "2018" [dependencies] - -[profile.dev] -panic = "abort" - -[profile.release] -panic = "abort" - diff --git a/x86_64-julios.json b/x86_64-julios.json new file mode 100644 index 0000000..aafc2c5 --- /dev/null +++ b/x86_64-julios.json @@ -0,0 +1,15 @@ +{ + "llvm-target": "x86_64-unknown-none", + "data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128", + "arch": "x86_64", + "target-endian": "little", + "target-pointer-width": "64", + "target-c-int-width": "32", + "os": "none", + "panic-strategy": "abort", + "linker-flavor": "ld.lld", + "linker": "rust-lld", + "disable-redzone": true, + "features": "-mmx,-sse,+soft-float", + "executables": true +}