Create no_std examples

This commit is contained in:
2025-11-07 06:41:34 +11:00
parent 304e12bd8e
commit ec0f3f0739
11 changed files with 445 additions and 5 deletions

View 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"