Skip to content

Commit 2a3af1c

Browse files
committed
Don't produce a shared library artifact.
The crate is not shipped as a shared library, and is not used as such.
1 parent d9b4369 commit 2a3af1c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ ctor = "0.2.4"
2727
[lib]
2828
name = "v8_rs"
2929
path = "src/lib.rs"
30-
crate-type = ["cdylib", "rlib"]
3130

3231
[features]
3332
default = ["debug-server"]

build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ fn main() {
107107
"cargo:rustc-flags=-L{} -lv8 -lv8_monolith_{} -ldl -lc",
108108
output_dir, *PROFILE
109109
);
110-
println!("cargo:rustc-cdylib-link-arg=-Wl,-Bstatic");
111-
println!("cargo:rustc-cdylib-link-arg=-lstdc++");
112-
println!("cargo:rustc-cdylib-link-arg=-Wl,-Bdynamic");
110+
println!(
111+
"cargo:rustc-link-lib=stdc++",
112+
);
113113
}
114114
"macos" => {
115115
println!(

0 commit comments

Comments
 (0)