Skip to content

Commit c00b52f

Browse files
authored
Fix is_flag_supported not respecting emit_rerun_if_env_changed (#1147) (#1148)
1 parent bd5a4ec commit c00b52f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,8 @@ impl Build {
641641
.host(&self.get_host()?)
642642
.debug(false)
643643
.cpp(self.cpp)
644-
.cuda(self.cuda);
644+
.cuda(self.cuda)
645+
.emit_rerun_if_env_changed(self.emit_rerun_if_env_changed);
645646
cfg.try_get_compiler()?
646647
};
647648

0 commit comments

Comments
 (0)