浏览代码

fix: allow deadcode for rustflags

Jonathan Kelley 8 月之前
父节点
当前提交
6216a26a40
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/cli/src/builder/build.rs

+ 1 - 0
packages/cli/src/builder/build.rs

@@ -321,6 +321,7 @@ impl BuildRequest {
         cargo_args
     }
 
+    #[allow(dead_code)]
     pub(crate) fn rust_flags(&self) -> String {
         let mut rust_flags = std::env::var("RUSTFLAGS").unwrap_or_default();