We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--all-features
1 parent 5d9964c commit a0543ceCopy full SHA for a0543ce
src/bin/wit-bindgen.rs
@@ -104,6 +104,12 @@ struct Common {
104
/// This enables using `@unstable` annotations in WIT files.
105
#[clap(long)]
106
features: Vec<String>,
107
+
108
+ /// Whether or not to activate all WIT features when processing WIT files.
109
+ ///
110
+ /// This enables using `@unstable` annotations in WIT files.
111
+ #[clap(long)]
112
+ all_features: bool,
113
}
114
115
fn main() -> Result<()> {
@@ -183,6 +189,7 @@ fn gen_world(
183
189
files: &mut Files,
184
190
) -> Result<()> {
185
191
let mut resolve = Resolve::default();
192
+ resolve.all_features = opts.all_features;
186
193
for features in opts.features.iter() {
187
194
for feature in features
188
195
.split(',')
0 commit comments