Skip to content

Conversation

@badboy
Copy link
Contributor

@badboy badboy commented Nov 14, 2025

Zig comes bundled with library code that's usually dynamically linked. We thus skip those links.


Fixes #356

Locally that works to build binaries. I have not yet tested that those binaries actually work on FreeBSD.

Zig comes bundled with library code that's usually dynamically linked.
We thus skip those links.
@badboy
Copy link
Contributor Author

badboy commented Nov 14, 2025

Actually, realized I do have a FreeBSD machine.
It works!

root@opnsense:~ # ./crosscompile-hello
Hello, world!

@messense messense merged commit 2539065 into rust-cross:main Nov 14, 2025
15 of 39 checks passed
@badboy badboy deleted the support-freebsd branch November 14, 2025 15:06
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.

Support for x86_64-unknown-freebsd target

2 participants