feat(target): create custom target

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2021-11-28 01:40:58 +01:00
1 parent 84a599e8f5
commit 8ff78bbc02
3 files changed
+18 -7

No files matched your search

+3
View File
@@ -1,2 +1,5 @@
[target.'cfg(target_os = "linux")']
rustflags = ["-C", "link-arg=-nostartfiles"]
[unstable]
build-std = ["core", "compiler_builtins"]
-7
View File
@@ -7,10 +7,3 @@ edition = "2018"
[dependencies]
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
+15
View File
@@ -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
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.