Skip to content

The action does not install aarch64-unknown-linux-gnu on ubuntu-22.04 #140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kkew3 opened this issue Mar 1, 2025 · 2 comments
Closed

Comments

@kkew3
Copy link

kkew3 commented Mar 1, 2025

My workflow (minimal reproducible example) is:

runs-on: ubuntu-22.04
steps:
  - name: Install ARM compiler toolchain
    shell: bash
    run: |
      sudo apt-get update
      sudo apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu libc6-dev-arm64-cross
  - uses: dtolnay/rust-toolchain@stable
    with:
      target: aarch64-unknown-linux-gnu
      toolchain: stable
  - name: Show version information
    shell: bash
    run: rustup toolchain list

The last step prints:

stable-x86_64-unknown-linux-gnu (default)

Am I doing anything wrong? Thank you so much!

Full run log: here

@dtolnay
Copy link
Owner

dtolnay commented Mar 1, 2025

This is behaving correctly. rustup toolchain list prints host toolchains, not installed targets.

@dtolnay dtolnay closed this as completed Mar 1, 2025
@kkew3
Copy link
Author

kkew3 commented Mar 1, 2025

Thanks for your info! I finally found solution at this post; and found rust-lang/rust#28924 and rust-lang/cargo#4133 to be quite useful. This action is indeed working correctly. Sorry for the noise.

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

No branches or pull requests

2 participants