mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 19:17:47 +00:00
31d57fd3d1
This commit does a few things: * remove the -8 suffix on macOS, where it is not necessary * add smoke tests for compiling wasm files on Linux and macOS
12 lines
272 B
Go
12 lines
272 B
Go
// +build darwin
|
|
|
|
package main
|
|
|
|
// commands used by the compilation process might have different file names on macOS than those used on Linux.
|
|
var commands = map[string]string{
|
|
"ar": "llvm-ar",
|
|
"clang": "clang-8",
|
|
"ld.lld": "ld.lld-8",
|
|
"wasm-ld": "wasm-ld",
|
|
}
|