Skip to content

Commit

Permalink
Cross compile support (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier authored Dec 25, 2022
1 parent e775dcd commit 5c1e385
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .maintain/docker/ubuntu-latest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM ubuntu:latest

RUN apt-get -y update && apt-get -y install clang gcc g++ llvm make git protobuf-compiler
8 changes: 8 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[build]
default-target = "x86_64-unknown-linux-gnu"

[build.env]
passthrough = ["WASM_BUILD_WORKSPACE_HINT"]

[target.x86_64-unknown-linux-gnu]
image = "ubuntu-latest"

0 comments on commit 5c1e385

Please sign in to comment.