Skip to content

WASM Target Not Supported on OSX #82

Description

@drush

Adding a tracking case for monitoring progress of WASM target when building from OSX.

OSX developers cannot use tinygo to build WASM targets because WASM is an experimental feature in LLVM

$ tinygo build -o test.wasm test.go
error: No available targets are compatible with this triple.

The Facts:

  • Tinygo can build on OSX when LLVM 7 is installed via brew. However, WASM targets are experimental in LLVM 7 and not supported by the homebrew recipe.
  • WASM will be supported in LLVM 8 (Expected release March 2019)

RELATED:

Possible Workarounds:

  • Wait for LLVM 8 in March of 2019
  • Build LLVM 7 from source with full WASM support (Does this work?)
  • ???

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions