mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Update crate feature flags (#12566)
# Description Remove unused/effect-less features, make sure we show all relevant features in `version` # User-Facing Changes - **Remove unused feature `wasi`** - will cause failure to build should you enable it. Otherwise no effect - **Include feat `system-clipboard` in `version`**
This commit is contained in:
committed by
GitHub
parent
6ccd547d81
commit
b088f395dc
@ -30,4 +30,4 @@ trash-support = []
|
||||
sqlite = []
|
||||
dataframe = []
|
||||
static-link-openssl = []
|
||||
wasi = []
|
||||
system-clipboard = []
|
||||
|
@ -180,9 +180,9 @@ fn features_enabled() -> Vec<String> {
|
||||
names.push("static-link-openssl".to_string());
|
||||
}
|
||||
|
||||
#[cfg(feature = "wasi")]
|
||||
#[cfg(feature = "system-clipboard")]
|
||||
{
|
||||
names.push("wasi".to_string());
|
||||
names.push("system-clipboard".to_string());
|
||||
}
|
||||
|
||||
names.sort();
|
||||
|
Reference in New Issue
Block a user