Skip to content

Commit b4c210b

Browse files
authored
build: Remove deprecated static_flag(true) call. (#651)
This method has been deprecated in cc-rs, since cc-rs will only build static libraries. See the deprecation notice in the latest version: https://docs.rs/cc/latest/cc/struct.Build.html#method.static_flag Signed-off-by: Jonathan Schwender <[email protected]>
1 parent 551a1d7 commit b4c210b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mozjs-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "mozjs_sys"
33
description = "System crate for the Mozilla SpiderMonkey JavaScript engine."
44
repository.workspace = true
5-
version = "0.140.5-0"
5+
version = "0.140.5-1"
66
authors = ["Mozilla", "The Servo Project Developers"]
77
links = "mozjs"
88
license.workspace = true

mozjs-sys/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ fn build_spidermonkey(build_dir: &Path) {
256256
.for_each(|obj| {
257257
make_static.object(obj);
258258
});
259-
make_static.static_flag(true);
260259
make_static.compile("js_static");
261260
}
262261

0 commit comments

Comments
 (0)