Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Rust Toolchain for Xtensa

Actions
Install the Rust compiler fork targeting Xtensa devices
v1.1.0
Star (11)

xtensa-toolchain Action

CI MIT/Apache-2.0 licensed

An action which installs the Rust compiler fork with Xtensa support, as well as the required toolchain binaries.

The Rust compiler fork with Xtensa support can be found at esp-rs/rust. Pre-built binaries with installation scripts can be found at esp-rs/rust-build, which is what this action uses.

Example workflow

on: [push]

name: CI

jobs:
  check:
    name: Rust project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Install Rust for Xtensa
        uses: esp-rs/[email protected]
        with:
          default: true
          version: "1.60.0"
          ldproxy: true

      # `cargo check` command here will use installed `esp` toolchain, as it
      # has been set as the default above

      - name: Run cargo check
        uses: actions-rs/cargo@v1
        with:
          command: check

Inputs

Name Description Type Default
default Set installed toolchain as a default toolchain bool false
version Which version of the toolchain to install string latest
ldproxy Whether to install ldproxy (required for std) bool true

All inputs are optional; if no inputs are provided:

  • the Rust compiler fork with Xtensa support will NOT be set as the default (but is usable via the +esp toolchain specifier)
  • the latest available version of the compiler will be installed
  • ldproxy WILL be installed; this is required for std, however installing it significantly increases the total run time of this action

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Rust Toolchain for Xtensa is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Install the Rust compiler fork targeting Xtensa devices
v1.1.0

Rust Toolchain for Xtensa is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.