mirror of
https://github.com/Xevion/smart-rgb.git
synced 2025-12-06 01:16:24 -06:00
19 lines
345 B
TOML
19 lines
345 B
TOML
[build]
|
|
rustc-wrapper = "sccache"
|
|
|
|
[target.wasm32-unknown-unknown]
|
|
rustflags = [
|
|
'--cfg',
|
|
'getrandom_backend="wasm_js"',
|
|
'--cfg=web_sys_unstable_apis',
|
|
]
|
|
|
|
# for Linux
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
|
|
# for Windows
|
|
[target.x86_64-pc-windows-msvc]
|
|
linker = "rust-lld.exe"
|