mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
The ar file format is pretty simple and can be implemented by using a Go library. Use that instead of calling out to llvm-ar. There are a few limitations to the used package, but that doesn't seem to matter for our use case (linking compiler-rt for use with ld.lld): * no index is created * long filenames are truncated * no support for archives bigger than 4GBpull/275/head
Ayke van Laethem
6 years ago
committed by
Ron Evans
5 changed files with 51 additions and 10 deletions
Loading…
Reference in new issue