-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consistently getting compilation error when compiling to wasm32 #660
Comments
Compiling C deps in Rust projects is a source of continuous problems, as it depends on the host system. At minimum debugging this requires capturing the exact OS version, and specifically My recommendation would be to invest in Nix development shell to ensure developers and build machines always use desired and tested versions. We use it at Fedimint, BDK is moving to Nix dev shells and CI |
Perhaps, but that's not going to work for us in the short term with our tight deadlines. For now I've just downgraded to 0.27.0 and that resolved the issue. For others who might be running into this:
|
I'm running Garuda Linux, an Arch derivative...
|
OK. In that case it might be something that |
I'll bet upstream introduced a new instance of |
It looks like there is a new |
Can't we just |
@Kixunil ooh, that's a cool idea. Let me audit the other code that we're patching out to see if it'd be sufficient to just |
@Kixunil so, the existing patch-out-function code can't be replaced by this, because the functions that we patch out are replaced by pure Rust code. But I think this particular issue should be resolvable by just defining away printf. |
Can confirm this is resolved by the latest PR into master. |
Error log:
The text was updated successfully, but these errors were encountered: