Skip to content

Commit 1115ced

Browse files
authored
Unconditionally link wasip3 C-based intrinsics (#1695)
Don't take the target into account here since the crate could be compiled for any target and these intrinsics would still be necessary.
1 parent 4f831f2 commit 1115ced

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

crates/guest-rust/build.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ fn main() {
1717
if target_env == "p1" || target_env == "" {
1818
link_lib("cabi_realloc");
1919
}
20-
if target_env == "p3" {
21-
link_lib("cabi_wasip3");
22-
}
20+
link_lib("cabi_wasip3");
2321
}
2422

2523
fn link_lib(name: &str) {

0 commit comments

Comments
 (0)