xref: /DragonOS/kernel/.cargo/config.toml (revision bd70d2d1f490aabd570a5301b858bd5eb04149fa)
1# [unstable]
2# build-std = ["core", "compiler_builtins", "alloc"]
3# build-std-features = ["compiler-builtins-mem"]
4
5[target.'cfg(target_os = "none")']
6runner = "bootimage runner"
7
8[build]
9# '-Zlinker-features=-lld' 禁用rustlld(20240723),因为它与linkme0.3版本冲突
10rustflags = ["-Zlinker-features=-lld"]
11rustdocflags = ["-Zlinker-features=-lld"]
12
13[env]
14