Skip to content
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

build: Install toolchains #228

Closed
wants to merge 1 commit into from

Commits on Nov 23, 2024

  1. build: Install toolchains

    Add toolchains to rust-toolchain.xml so that they don't need to be
    installed manually with "rustup add component". This further simplifies the
    build, in addition to linker supplying the polkavm custom targets. Start
    with the minimal profile, and add only mandatory components for the build.
    
    On a fresh Rust install, this will result:
    
    $ cargo b
    info: syncing channel updates for '1.75.0-aarch64-apple-darwin'
    info: latest update on 2023-12-28, rust version 1.75.0 (82e1608df 2023-12-21)
    info: downloading component 'cargo'
    info: downloading component 'clippy'
    info: downloading component 'rust-std'
    info: downloading component 'rust-std' for 'wasm32-wasi'
    info: downloading component 'rust-std' for 'x86_64-unknown-none'
    info: downloading component 'rustc'
    info: downloading component 'rustfmt'
    info: installing component 'cargo'
    info: installing component 'clippy'
    info: installing component 'rust-std'
    info: installing component 'rust-std' for 'wasm32-wasi'
    info: installing component 'rust-std' for 'x86_64-unknown-none'
    info: installing component 'rustc'
    info: installing component 'rustfmt'
    
    Signed-off-by: Jarkko Sakkinen <[email protected]>
    jarkkojs committed Nov 23, 2024
    Configuration menu
    Copy the full SHA
    439394c View commit details
    Browse the repository at this point in the history