ソースを参照

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();