diff options
author | har7an <99636919+har7an@users.noreply.github.com> | 2022-12-09 09:17:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 10:17:28 +0100 |
commit | 36233439f930f0c50bed574e95ff4cd887893120 (patch) | |
tree | 6af721edcc5ae920c22f102c22cde4b9adbfdf19 /zellij-utils/src/consts.rs | |
parent | 66593ec41a1c11ed134d729e9dea291e4c4cd38f (diff) |
HOTFIX: Feature/ignore asset map (#2002)
* utils: feature-gate asset map
to make publishing on crates.io possible without compile errors.
* setup: Fix asset_map feature
Diffstat (limited to 'zellij-utils/src/consts.rs')
-rw-r--r-- | zellij-utils/src/consts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zellij-utils/src/consts.rs b/zellij-utils/src/consts.rs index d8b60e351..328be223b 100644 --- a/zellij-utils/src/consts.rs +++ b/zellij-utils/src/consts.rs @@ -35,10 +35,10 @@ pub const FEATURES: &[&str] = &[ "disable_automatic_asset_installation", ]; -#[cfg(not(target_family = "wasm"))] +#[cfg(all(not(target_family = "wasm"), feature = "asset_map"))] pub use not_wasm::*; -#[cfg(not(target_family = "wasm"))] +#[cfg(all(not(target_family = "wasm"), feature = "asset_map"))] mod not_wasm { use lazy_static::lazy_static; use std::collections::HashMap; |