Move Rust flag for plume-front to .cargo/config.toml from env var
This commit is contained in:
+2
-2
@@ -45,10 +45,10 @@ parts:
|
||||
# the system LLD we've installed earlier.
|
||||
case ${SNAPCRAFT_ARCH_TRIPLET} in \
|
||||
aarch64-linux-gnu|arm-linux-gnueabihf|powerpc64-linux-gnu|s390x-linux-gnu) \
|
||||
RUSTFLAGS="-C linker=lld --cfg=web_sys_unstable_apis" wasm-pack build --target web --release plume-front \
|
||||
RUSTFLAGS="-C linker=lld" wasm-pack build --target web --release plume-front \
|
||||
;; \
|
||||
*) \
|
||||
RUSTFLAGS="--cfg=web_sys_unstable_apis" wasm-pack build --target web --release plume-front \
|
||||
wasm-pack build --target web --release plume-front \
|
||||
;; \
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user