config.toml 282 B

123456789101112
  1. [build]
  2. target = "../x86_64-unknown-dragonos.json"
  3. [unstable]
  4. build-std = ["core", "compiler_builtins", "alloc"]
  5. build-std-features = ["compiler-builtins-mem"]
  6. [target.'cfg(target_os = "dragonos")']
  7. rustflags = [
  8. "-C", "target-feature=+crt-static",
  9. "-C", "link-arg=-no-pie",
  10. ]