diff options
Diffstat (limited to '.cargo/config.toml')
| -rw-r--r-- | .cargo/config.toml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..c82825c --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,9 @@ +[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"] + |
