Skip to content

Commit

Permalink
fix: use riscv32imc as default target
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Nov 3, 2024
1 parent 75dbd95 commit 73a21d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ v3 = []
unsafe-trust-wch-atomics = []

[package.metadata.docs.rs]
targets = ["riscv32imac-unknown-none-elf"]
targets = ["riscv32imc-unknown-none-elf"]
6 changes: 3 additions & 3 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

set -ex

cargo publish --target riscv32imac-unknown-none-elf --allow-dirty
cargo publish --target riscv32imc-unknown-none-elf --allow-dirty

(cd qingke-rt/macros && cargo publish --target riscv32imac-unknown-none-elf --allow-dirty)
(cd qingke-rt/macros && cargo publish --target riscv32imc-unknown-none-elf --allow-dirty)

(cd qingke-rt && cargo publish --target riscv32imac-unknown-none-elf --allow-dirty)
(cd qingke-rt && cargo publish --target riscv32imc-unknown-none-elf --allow-dirty)
6 changes: 3 additions & 3 deletions qingke-rt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ u-mode = []
highcode = []

[dependencies]
qingke-rt-macros = { path = "./macros" }
qingke = { path = "../", features = ["critical-section-impl"] }
qingke-rt-macros = { version = "0.5.0", path = "./macros" }
qingke = { version = "0.5.0", path = "../", features = ["critical-section-impl"] }

[package.metadata.docs.rs]
targets = ["riscv32imac-unknown-none-elf"]
targets = ["riscv32imc-unknown-none-elf"]

0 comments on commit 73a21d1

Please sign in to comment.