rust-lang / cc-rs

Rust library for build scripts to compile C/C++ code into a Rust library
https://docs.rs/cc
Apache License 2.0
1.76k stars 425 forks source link

Fix invalid wasi targets compatibility #1105

Closed antaalt closed 1 week ago

antaalt commented 1 week ago

Thanks for your help following Fix WASI compilation for C++, I have tested it on my side from main and spotted some issues with incompatible targets, took some time to clean this aswell and ensure every targets are clearly defined to avoid potential issues with no-exceptions flags

antaalt commented 1 week ago

Thank you!

BTW, cc @antaalt it'd be great if we can have some testing for wasi targets!

Yes, I will look into it