Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
airstrike
1y ago
0 comments
Share
Obligatory comment saying you can do the same in Rust
0 comments
default
newest
oldest
eptcyka
1y ago
I can’t target msvc or aarch-64-apple-* and compile a binary on Linux, without resorting to significant amounts of rectal dentistry.
jeroenhd
1y ago
I've built .exes for Windows just fine on Linux. I don't know about Apple stuff, though, I don't think there's any built-in Linux tooling to submit an executable for Apple's signature scheme.
iknowstuff
1y ago
Can’t you just replace the “cargo” command with “cross”
cross build —-target=…
https://github.com/cross-rs/cross
demurgos
1y ago
Cross-building for Apple is possible, but it's far from smooth with many steps that you have to figure out by yourself unfortunately.
1 more reply
delusional
1y ago
You can in fact also do it in C
IshKebab
1y ago
It's not quite as seamless as in Go to be fair. But it does mean you can write Rust instead of Go.
p_ing
1y ago
And .NET
j
/
k
navigate · click thread line to collapse