aboutsummaryrefslogtreecommitdiffstats
path: root/xtask/src/flags.rs
diff options
context:
space:
mode:
authorm-lima <m-lima@users.noreply.github.com>2023-02-13 17:52:10 +0100
committerGitHub <noreply@github.com>2023-02-13 17:52:10 +0100
commitd1b458e37bf740a3a45bb80fb62edfb440e32ac3 (patch)
tree2643c40fc73aee380fd007dfe91a7a23e71a8354 /xtask/src/flags.rs
parentcleanups around "buffer full" error (#2136) (diff)
downloadsl0ppij-d1b458e37bf740a3a45bb80fb62edfb440e32ac3.tar.gz
sl0ppij-d1b458e37bf740a3a45bb80fb62edfb440e32ac3.tar.xz
sl0ppij-d1b458e37bf740a3a45bb80fb62edfb440e32ac3.zip
chore(build): make the singlepass compiler opt-in through flags (#2146)
Diffstat (limited to 'xtask/src/flags.rs')
-rw-r--r--xtask/src/flags.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/xtask/src/flags.rs b/xtask/src/flags.rs
index df785e54..2aed0013 100644
--- a/xtask/src/flags.rs
+++ b/xtask/src/flags.rs
@@ -63,8 +63,8 @@ xflags::xflags! {
cmd run {
/// Take plugins from here, skip building plugins. Passed to zellij verbatim
optional --data-dir path: PathBuf
- /// Force the use of Cranelift for compiling WASM modules
- optional --cranelift
+ /// Enable the singlepass compiler for WASM plugins
+ optional --singlepass
/// Arguments to pass after `cargo run --`
repeated args: OsString
}
@@ -176,7 +176,7 @@ pub struct Run {
pub data_dir: Option<PathBuf>,
- pub cranelift: bool,
+ pub singlepass: bool,
}
#[derive(Debug)]