xref: /DragonOS/kernel/.cargo/config.toml (revision 86ee1395de7c614865236ee15071c3603b794e44)
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