forked from extern/nushell
Fix version to show build features after crateification (#9262)
# Description Addresses missing features per #9261 # User-Facing Changes Fixes output of version. Adds wasi feature output # Tests + Formatting No tests written Co-authored-by: Robert Waugh <robert@waugh.io>
This commit is contained in:
@ -182,6 +182,11 @@ fn features_enabled() -> Vec<String> {
|
||||
names.push("extra".to_string());
|
||||
}
|
||||
|
||||
#[cfg(feature = "wasi")]
|
||||
{
|
||||
names.push("wasi".to_string());
|
||||
}
|
||||
|
||||
names.sort();
|
||||
|
||||
names
|
||||
|
Reference in New Issue
Block a user