Skip to content

Commit d4f7177

Browse files
committed
Allow dead_code for generated variables
1 parent be1ad9f commit d4f7177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ fn write_path_to_conf(mut file: &File, path: &Path, name: &str) -> Result<()> {
7474

7575
Ok(writeln!(
7676
file,
77-
r##"pub const {}: &str = "{}";"##,
77+
"#[allow(dead_code)]\npub const {}: &str =\n \"{}\";\n",
7878
name,
7979
path.display(),
8080
)?)

0 commit comments

Comments
 (0)