Skip to content

Conversation

@torokati44
Copy link
Member

@torokati44 torokati44 commented Jan 13, 2022

A bit of an improvement over #5834.

This avoids always nuking the build cache (twice) when running npm run build:dual-wasm.
While wasm-opt is still doing the work twice, that is a lot faster and less "harmful" - not cache-polluting.

A somewhat related note: I think \\\"$CARGO_FEATURES\\\" causes the --features argument to be passed as literally $CARGO_FEATURES to cargo. Does it then substitute the envvar internally?
EDIT: FWIW setting CARGO_FEATURES=whatever for npm run ... does work, at least on Linux, so I guess it's okay.

@Herschel
Copy link
Member

Thank you!

@Herschel Herschel merged commit 4830287 into ruffle-rs:master Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants