Closed Niederb closed 3 months ago
cc @antaalt can you help me with this issue please?
I am curious as to how you were building to WASI without a particular setup, for the fix of the build, you can download WASI sysroot from WASI SDK GitHub release pages and setup the WASI_SYSROOT targeting the folder. You will probably still get issues as there is also an issue that need to be fixed with targets
Hello @Niederb can you try cc 1.0.102 to see if it fixed your issue?
Ok I think we'd need to make the WASI_SYSROOT
optional, since clang on Linux (or maybe just the Ubuntu-latest runner) seems to come with wasi libraries required.
Just to confirm: cc 1.0.103 fixed the issue for me 👍
I have a failing build for
wasip1
after one of my transitive dependencies upgradedcc
tov1.0.100
(See https://github.com/scs/substrate-api-client/actions/runs/9671307108/job/26681692693 for the failing build) This seems to be caused by this commit: https://github.com/rust-lang/cc-rs/commit/6a6107a26f3290fed3487f436249f4f5c6d4993d
I'm not quite sure how to fix this. So far we relied on a standard Github runner for our builds and no additional setup for wasi was needed.