Browse Source

feat(xtask): add unused tag for `export_env`

Signed-off-by: Woshiluo Luo <[email protected]>
Woshiluo Luo 3 months ago
parent
commit
171cc33081
1 changed files with 1 additions and 0 deletions
  1. 1 0
      xtask/src/utils/envs.rs

+ 1 - 0
xtask/src/utils/envs.rs

@@ -1,3 +1,4 @@
+#[allow(unused)]
 macro_rules! export_env {
     ($env:literal ?= $val:expr) => {
         if std::env::vars_os().all(|(k, _)| k != $env) {