mirror of
https://github.com/gay-pizza/jaarg.git
synced 2025-12-19 07:20:18 +00:00
Create no_std examples
This commit is contained in:
12
jaarg-nostd/.cargo/config.toml
Normal file
12
jaarg-nostd/.cargo/config.toml
Normal file
@@ -0,0 +1,12 @@
|
||||
[target.'cfg(target_os = "macos")']
|
||||
rustflags = ["-Cpanic=abort", "-C", "link-args=-lSystem"]
|
||||
[target.'cfg(target_family = "windows")']
|
||||
rustflags = ["-Cpanic=abort", "-C", "target-feature=+crt-static"]
|
||||
[target.'cfg(target_os = "linux")']
|
||||
rustflags = ["-Cpanic=abort", "-C", "link-args=-lc"]
|
||||
|
||||
[profile.dev]
|
||||
panic = "abort"
|
||||
|
||||
[profile.release]
|
||||
panic = "abort"
|
||||
Reference in New Issue
Block a user