Skip to content

Commit fc1d577

Browse files
authored
Update build.rs from Rust Port.
1 parent 9dca44b commit fc1d577

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/ports/rs_port/build.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ fn main() {
2424
// When building from Cargo
2525
let profile = env::var("PROFILE").unwrap();
2626
match profile.as_str() {
27-
"debug" => {
28-
println!("cargo:rustc-link-lib=dylib=metacalld");
29-
}
30-
"release" => {
27+
// "debug" => {
28+
// println!("cargo:rustc-link-lib=dylib=metacalld");
29+
// }
30+
"debug" | "release" => {
3131
println!("cargo:rustc-link-lib=dylib=metacall")
3232
}
3333
_ => {

0 commit comments

Comments
 (0)