Skip to content

Commit b40a2c2

Browse files
committed
Fix build without bin feature
1 parent 7884663 commit b40a2c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use std::env;
33
use std::error::Error;
44

55
#[allow(unused_imports)]
6+
#[cfg(feature = "bin")]
67
use shadow_rs::ShadowBuilder;
78

89
fn main() -> Result<(), Box<dyn Error>> {

0 commit comments

Comments
 (0)