Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align WASM feature set in scrypto compiler #1973

Merged
merged 10 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions radix-clis/src/scrypto/cmd_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ pub struct Build {
features: Option<String>,

/// Environment variables to define. Specify as NAME=VALUE or NAME.
/// Scrypto compiler internally sets some compilation flags `TARGET_CFLAGS` for C libraries
/// to configure WASM with the same features as Radix Engine.
/// If you want to override it, then you can use this option.
/// If you want to remove TARGET_CFLAGS, then use `--unset-env` option
#[clap(short, long)]
env: Option<Vec<String>>,

Expand Down
123 changes: 69 additions & 54 deletions scrypto-compiler/src/lib.rs

Large diffs are not rendered by default.

Loading
Loading