From 568883f987415fe989271d61a1309548d6013877 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 20 May 2026 22:12:23 +0200 Subject: build(engine): use shader-slang fork branch with prebuilt libs --- .cargo/config.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .cargo/config.toml (limited to '.cargo/config.toml') 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"] + -- cgit v1.2.3-18-g5258