From b90a527fca4cc0aa525feada1c46f577132da01e Mon Sep 17 00:00:00 2001 From: Marcus Weiner Date: Sun, 10 Sep 2023 15:51:41 +0200 Subject: [PATCH] Ensure cargo checks works for the workspace without flags Signed-off-by: Marcus Weiner --- aarch64/Cargo.toml | 3 +++ riscv64/Cargo.toml | 3 +++ x86_64/Cargo.toml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/aarch64/Cargo.toml b/aarch64/Cargo.toml index bd8b9bf..3c75f34 100644 --- a/aarch64/Cargo.toml +++ b/aarch64/Cargo.toml @@ -1,7 +1,10 @@ +cargo-features = ["per-package-target"] + [package] name = "aarch64" version = "0.1.0" edition = "2021" +default-target = "aarch64-unknown-none-softfloat" [dependencies] bitstruct = "0.1" diff --git a/riscv64/Cargo.toml b/riscv64/Cargo.toml index 6ad82f7..ef37c0b 100644 --- a/riscv64/Cargo.toml +++ b/riscv64/Cargo.toml @@ -1,7 +1,10 @@ +cargo-features = ["per-package-target"] + [package] name = "riscv64" version = "0.1.0" edition = "2021" +default-target = "riscv64imac-unknown-none-elf" [dependencies] port = { path = "../port" } diff --git a/x86_64/Cargo.toml b/x86_64/Cargo.toml index ffa35a1..f3e04b2 100644 --- a/x86_64/Cargo.toml +++ b/x86_64/Cargo.toml @@ -1,7 +1,10 @@ +cargo-features = ["per-package-target"] + [package] name = "x86_64" version = "0.1.0" edition = "2021" +default-target = "x86_64-unknown-none" [dependencies] bitstruct = "0.1"