mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 05:24:56 +02:00
Make which-support
feature non-optional (#13125)
# Description Removes the `which-support` cargo feature and makes all of its feature-gated code enabled by default in all builds. I'm not sure why this one command is gated behind a feature. It seems to be a relic of older code where we had features for what seems like every command.
This commit is contained in:
@ -25,7 +25,6 @@ shadow-rs = { version = "0.28", default-features = false }
|
||||
|
||||
[features]
|
||||
mimalloc = []
|
||||
which-support = []
|
||||
trash-support = []
|
||||
sqlite = []
|
||||
static-link-openssl = []
|
||||
|
@ -160,11 +160,6 @@ fn features_enabled() -> Vec<String> {
|
||||
|
||||
// NOTE: There should be another way to know features on.
|
||||
|
||||
#[cfg(feature = "which-support")]
|
||||
{
|
||||
names.push("which".to_string());
|
||||
}
|
||||
|
||||
#[cfg(feature = "trash-support")]
|
||||
{
|
||||
names.push("trash".to_string());
|
||||
|
Reference in New Issue
Block a user