iced/build
0xd4d 0f681ad50f Move build code to build scripts in build dir 2020-11-07 01:04:09 +01:00
..
README.md Move build code to build scripts in build dir 2020-11-07 01:04:09 +01:00
build-dotnet.sh Move build code to build scripts in build dir 2020-11-07 01:04:09 +01:00
build-js.sh Move build code to build scripts in build dir 2020-11-07 01:04:09 +01:00
build-rust.sh Move build code to build scripts in build dir 2020-11-07 01:04:09 +01:00
build.sh Move build code to build scripts in build dir 2020-11-07 01:04:09 +01:00

README.md

Requirements

See .github/workflows/build.yml for all details. If something is missing from this file, open an issue and/or create a PR to update this doc.

.NET

Building and testing the C# code requires:

Rust

Building and testing the Rust code requires:

  • Rust: https://www.rust-lang.org/tools/install
  • Extra Rust stuff
    • rustup update
    • rustup component add rustfmt
    • rustup component add clippy
    • rustup target add wasm32-unknown-unknown
    • MSRV: rustup toolchain install 1.20.0
      • Pass --no-msrv to build-rust.sh if you don't want to install it
  • .NET SDK (latest version): https://dotnet.microsoft.com/download
    • required to generate and test valid/invalid instructions (pass --no-dotnet to build-rust.sh if you don't want to install .NET)

JavaScript

Building and testing the JavaScript code requires:

Building this repo

From the repo root dir:

bash ./build/build.sh
# It's the same as
bash ./build/build-rust.sh
bash ./build/build-js.sh
bash ./build/build-dotnet.sh

Windows: bash is located in the git bin directory.