We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9b4369 commit 2a3af1cCopy full SHA for 2a3af1c
Cargo.toml
@@ -27,7 +27,6 @@ ctor = "0.2.4"
27
[lib]
28
name = "v8_rs"
29
path = "src/lib.rs"
30
-crate-type = ["cdylib", "rlib"]
31
32
[features]
33
default = ["debug-server"]
build.rs
@@ -107,9 +107,9 @@ fn main() {
107
"cargo:rustc-flags=-L{} -lv8 -lv8_monolith_{} -ldl -lc",
108
output_dir, *PROFILE
109
);
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");
+ println!(
+ "cargo:rustc-link-lib=stdc++",
+ );
113
}
114
"macos" => {
115
println!(
0 commit comments