Skip to content

Testing build fixes related to OSX#11

Closed
TheNotary wants to merge 9 commits intowasix-org:wasix-0.2.169from
TheNotary:testing-build-fixes
Closed

Testing build fixes related to OSX#11
TheNotary wants to merge 9 commits intowasix-org:wasix-0.2.169from
TheNotary:testing-build-fixes

Conversation

@TheNotary
Copy link

@TheNotary TheNotary commented Oct 21, 2025

There are build error in Linux, Max and Windows that I noticed when drafting another PR.

General Rust Issues

Rust nightly's compiler is now insisting that extern fn is no good and should be replaced with extern "C" fn.

Use of the s! macro meant == methods were being implemented for functions returning pointer functions

Linux

Linux was erroring with apt-get, because I presume the docker image we were building from was out of date and not an LTS version of Ubuntu.

Also there was apparently a Kernel update where the struct for xdp_umem_reg changed. This might be a "breaking change," though I'm uncertain what the implications are of this change for existing consumers.

Windows

It looks like Windows broke due to changes in it's kernel emulator thing, perhaps related to changes in xdp_umem_reg? I didn't address the Windows build here, to make it easier to think through the Rust nightly and Linux Kernel changes.

@TheNotary TheNotary force-pushed the testing-build-fixes branch from f3112f6 to 8405dda Compare October 21, 2025 20:50
@TheNotary
Copy link
Author

Closing this in favor of minimizing divergence from upstream by disabling unneeded tests.

@TheNotary TheNotary closed this Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant