Skip to content

Commit 5c098e7

Browse files
committed
chore: switch to nightly-2024-05-15 and
Update cargo-component to 0.14.0
1 parent ba3e71b commit 5c098e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+7581
-7239
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- '*.md'
1212

1313
env:
14-
CARGO_MAKE_TOOLCHAIN: nightly-2024-03-10
14+
CARGO_MAKE_TOOLCHAIN: nightly-2024-05-15
1515

1616
jobs:
1717
compiler:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- main
1717

1818
env:
19-
CARGO_MAKE_TOOLCHAIN: nightly-2024-03-10
19+
CARGO_MAKE_TOOLCHAIN: nightly-2024-05-15
2020

2121
jobs:
2222
release-plz:

Cargo.lock

Lines changed: 46 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ args = ["component", "add", "rust-src"]
212212
category = "Test"
213213
description = "Install cargo-component extension"
214214
command = "cargo"
215-
args = ["install", "cargo-component@0.7.0"]
215+
args = ["install", "cargo-component@0.14.0"]
216216

217217
[tasks.install-cargo-tarpaulin]
218218
category = "Test"

codegen/masm/src/codegen/scheduler.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,10 @@ pub struct BlockInfo {
149149
/// The id of the last instruction in the source HIR block,
150150
/// this is commonly used to check for liveness after the end
151151
/// of a block
152+
#[allow(dead_code)]
152153
pub last_inst: hir::Inst,
153154
/// The innermost loop to which this block belongs
155+
#[allow(dead_code)]
154156
pub innermost_loop: Option<Loop>,
155157
/// If set, indicates that this block is the loop header
156158
/// for the specified loop.
@@ -213,8 +215,10 @@ impl Schedule {
213215
#[derive(Debug, Clone)]
214216
pub enum ScheduleOp {
215217
/// Always the first instruction in a schedule, represents entry into a function
218+
#[allow(dead_code)]
216219
Init(hir::Block),
217220
/// Push the current block context on the context stack, and switch to the given block context
221+
#[allow(dead_code)]
218222
Enter(hir::Block),
219223
/// Pop the most recent block context from the context stack and switch to it
220224
Exit,
@@ -233,6 +237,7 @@ pub enum Plan {
233237
/// This represents entering a block, so all further instructions
234238
/// are scheduled in the context of the given block until an ExitBlock
235239
/// meta-instruction is encountered.
240+
#[allow(dead_code)]
236241
Start(hir::Block),
237242
/// Schedule execution of an instruction's pre-requisites
238243
PreInst(Rc<InstInfo>),

0 commit comments

Comments
 (0)