Skip to content

Commit

Permalink
rustup, clippy & build for windows/xr
Browse files Browse the repository at this point in the history
  • Loading branch information
-karlos- committed Dec 23, 2023
1 parent 3751072 commit 2bd8e52
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 87 deletions.
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,14 @@ rustup target install wasm32-unknown-unknown
cargo install wasm-server-runner
cargo run --target wasm32-unknown-unknown
```

## Build for windows (on Mac/Linux)

brew install mingw-w64
rustup target add x86_64-pc-windows-gnu
cargo clippy --fix --allow-dirty --target x86_64-pc-windows-gnu
cargo fmt
cargo check --target x86_64-pc-windows-gnu
cargo build --target x86_64-pc-windows-gnu
error: linking with `x86_64-w64-mingw32-gcc` failed: exit status: 1
cargo run --target x86_64-pc-windows-gnu (realy?)
Loading

0 comments on commit 2bd8e52

Please sign in to comment.