From ff6387f1a765cefd9ee6a7a6575a883fe97729ed Mon Sep 17 00:00:00 2001 From: Atri Chattopadhyay <112633183+AtriChatterjee1@users.noreply.github.com> Date: Thu, 20 Jun 2024 03:15:04 +0530 Subject: [PATCH] Update rust.yml added target flag --- .github/workflows/rust.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4f1ca11..3f3113e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,9 +22,7 @@ jobs: run: rustup component add rust-src - name: Adding bootimage run: cargo install bootimage - - name: Adding target - run: rustup target add target - name: Build - run: cargo build + run: cargo build --target target.json - name: Run tests run: cargo test