blob: eed713a9fd3b78c3feb564f7136f665908514383 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[alias]
fcheck = "run -p xtask -- execute cargo +nightly check --config .cargo/config-nightly-fast-compile.toml"
fbuild = "run -p xtask -- execute cargo +nightly build --config .cargo/config-nightly-fast-compile.toml"
frun = "run -p xtask -- execute cargo +nightly run --config .cargo/config-nightly-fast-compile.toml"
[env]
SLANG_USE_PREBUILT = "1"
# This makes unix-like operating systems behave like Windows in that it will search for
# dynamic libraries in the same directory as the executable. This is needed by the engine
# crate to be able to load the shader-slang dynamic libraries.
[target.'cfg(unix)']
rustflags = ["-Clink-arg=-Wl,-rpath,$ORIGIN"]
[target.'cfg(target_arch = "x86_64")']
rustflags = ["-C", "target-cpu=x86-64-v2"]
|