Skip to content

Commit

Permalink
Update linkme to 0.3.31 to make this repo works with rust edition…
Browse files Browse the repository at this point in the history
… 2024 toolchains, use Cargo.lock from `arceos` in CI (#4)

* try adding `unsafe` to `linkme`

* revert previous commit, update `linkme` to 0.3.31

* use Cargo.lock from `arceos` in CI
  • Loading branch information
aarkegz authored Dec 20, 2024
1 parent da1caa5 commit 57c8074
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rust/exception/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ axstd = ["linkme", "dep:axstd"]

[dependencies]
axstd = { workspace = true, optional = true, features = ["paging"] }
linkme = { version = "0.3", optional = true }
linkme = { version = "0.3.31", optional = true }
3 changes: 3 additions & 0 deletions scripts/get_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ AX_ROOT=.arceos
test ! -d "$AX_ROOT" && echo "Cloning repositories ..." || true
test ! -d "$AX_ROOT" && git clone https://github.com/arceos-org/arceos "$AX_ROOT" --depth=1 || true

echo "Copying Cargo.lock ..."
cp "$AX_ROOT/Cargo.lock" Cargo.lock

$(dirname $0)/set_ax_root.sh $AX_ROOT

0 comments on commit 57c8074

Please sign in to comment.