Skip to content

Commit d3dfa31

Browse files
authored
Merge pull request #105 from nagisa/nagisa/flip-default
Default the `env_metadata` build parameter to `true`
2 parents ad42450 + 71804a3 commit d3dfa31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ impl Config {
197197
print_system_cflags: true,
198198
print_system_libs: true,
199199
cargo_metadata: true,
200-
env_metadata: false,
200+
env_metadata: true,
201201
}
202202
}
203203

@@ -259,7 +259,7 @@ impl Config {
259259

260260
/// Define whether metadata should be emitted for cargo allowing to
261261
/// automatically rebuild when environment variables change. Defaults to
262-
/// `false`.
262+
/// `true`.
263263
pub fn env_metadata(&mut self, env_metadata: bool) -> &mut Config {
264264
self.env_metadata = env_metadata;
265265
self

0 commit comments

Comments
 (0)