Skip to content

Conversation

@alexcrichton
Copy link
Member

Try to fix some unresolved symbols in the rand crate on some Unix
platforms.

Closes #94

Try to fix some unresolved symbols in the `rand` crate on some Unix
platforms.
@alexcrichton alexcrichton merged commit c4c4ca8 into bytecodealliance:main Aug 2, 2021
@alexcrichton alexcrichton deleted the link-pthread branch August 2, 2021 15:08
jeremywiebe added a commit to Khan/fastlike that referenced this pull request Aug 4, 2021
## Summary:

A[ linker issue](bytecodealliance/wasmtime-go#94) in wasmtime-go caused build failures in Linux environments. This was [fixed](bytecodealliance/wasmtime-go#95) and shipped in [v0.29](https://github.com/bytecodealliance/wasmtime-go/releases/tag/v0.29.0) and so we need to upgrade.

This upgrade includes a wasmtime-go fix for a linker bug on Linux where the pthread library wasn't linked and caused builds to fail on Linux.
The upgrade to wasmtime-go v0.29 also includes a migration to wasmtime's new C api (bytecodealliance/rfcs#11)

The changes were largely guided by the RFC and the [example code](https://github.com/bytecodealliance/wasmtime-go/blob/main/doc_test.go).

Issue: LP-10085

## Test plan:

`make test`

Author: jeremywiebe

Reviewers: jaredly

Required Reviewers: 

Approved by: jaredly

Checks: ✅ Run tests, ✅ Build wasm files for tests

Pull request URL: #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Go link failure on Ubuntu 18.04

1 participant