Ivan, the Language Mangler 🦀 · @hywan
1262 followers · 1236 posts · Server fosstodon.org

`weld` now takes a `--target <triple>` argument. `weld` is designed to be cross-platform entirely, hence it's legit to be able to specify a target triple, github.com/Hywan/weld/commit/b.

Based on the provided target triple, `weld` will use a particular linker strategy (e.g Elf, MachO, Coff, Wasm etc.).

$ weld --target x86-64-unknown-linux <input> -o <output> # = Elf

$ weld --target aarch64-apple-darwin <input> -o <output> # = MachO

Cool huh?

#weld #rustlang #targetlexicon #crossplatform #linker

Last updated 2 years ago