Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
flohofwoe
on Jan 24, 2024
|
parent
|
context
|
favorite
| on:
Making Rust binaries smaller by default
zig cc -Os -target x86_64-linux-musl hello.c -o hello
...which basically calls Clang under the hood, but comes with out-of-the-box cross-compilation support for Linux and MUSL creates a 5136 bytes executable.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: