HomePhabricator

[Chronik] Install Rust platform targets required for CI

Description

[Chronik] Install Rust platform targets required for CI

Summary: To run the builds on all the supported OS's and CPUs, we need to add the platform targets via rustup.

Test Plan:

  1. docker run -i -t bitcoinabc/bitcoin-abc-dev
  2. Run the commands added in this diff -> adds the platform targets
  3. source $HOME/.cargo/env
  4. cargo new --bin hello && cd hello
  5. cargo build --target x86_64-pc-windows-gnu
  6. file target/x86_64-pc-windows-gnu/debug/hello.exe -> outputs something like PE32+ executable (console) x86-64, for MS Windows

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D11865

Details

Provenance
tobias_ruckAuthored on Aug 17 2022, 09:57
tobias_ruckPushed on Aug 17 2022, 10:13
Reviewer
Restricted Project
Differential Revision
D11865: [Chronik] Install Rust platform targets required for CI
Parents
rABC8e0c63a1981a: [Automated] Update timing.json
Branches
Unknown
Tags
Unknown