Skip to content

Commit e1b2205

Browse files
committed
build(deps): update dependencies from dependabot PRs
Update dependencies based on available dependabot pull requests: - actions/checkout: v4 -> v5 in GitHub workflows - Updates to Node.js 24 runtime - Better compatibility with latest GitHub Actions infrastructure - clap: 4.5.4/4.0 -> 4.5.39 across multiple crates - cargo-wrt: 4.5.4 -> 4.5.39 - wrt-build-core: 4.5.4 -> 4.5.39 - wrt-dagger: 4.0 -> 4.5.39 - Includes help text improvements and flag alias fixes - wat: 1.205/1.231.0/1.0.89 -> 1.232.0 across multiple crates - wrt-decoder: 1.231.0 -> 1.232.0 - wrt-tests: 1.205 -> 1.232.0 - wrt-build-core: 1.0.89 -> 1.232.0 - Adds async import/export ABI updates and duplicate import support These updates were cherry-picked from pending dependabot PRs #100, #84, #83 and manually applied to match our current codebase structure.
1 parent 803a9bf commit e1b2205

File tree

20 files changed

+268
-163
lines changed

20 files changed

+268
-163
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
# This job runs on push, PR, and all manual triggers (regardless of input)
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v5
3434
- name: Cargo Cache
3535
uses: actions/cache@v4
3636
with:
@@ -82,7 +82,7 @@ jobs:
8282
name: Code Quality Checks
8383
runs-on: ubuntu-latest
8484
steps:
85-
- uses: actions/checkout@v4
85+
- uses: actions/checkout@v5
8686
- uses: actions-rs/toolchain@v1
8787
with:
8888
profile: minimal
@@ -108,7 +108,7 @@ jobs:
108108
runs-on: ubuntu-latest
109109
# This job runs on push, PR, and all manual triggers (regardless of input)
110110
steps:
111-
- uses: actions/checkout@v4
111+
- uses: actions/checkout@v5
112112
- name: Cargo Cache
113113
uses: actions/cache@v4
114114
with:
@@ -169,7 +169,7 @@ jobs:
169169
runs-on: ubuntu-latest
170170
# Run safety verification on all pushes and PRs
171171
steps:
172-
- uses: actions/checkout@v4
172+
- uses: actions/checkout@v5
173173
- name: Cargo Cache
174174
uses: actions/cache@v4
175175
with:
@@ -224,7 +224,7 @@ jobs:
224224
if: github.event_name == 'workflow_dispatch' && github.event.inputs.run_extended_analysis == true # Compare to boolean true
225225
needs: [ci_checks_and_docs, core_tests_and_analysis, safety_verification] # Optional: wait for other jobs
226226
steps:
227-
- uses: actions/checkout@v4
227+
- uses: actions/checkout@v5
228228
- name: Cargo Cache
229229
uses: actions/cache@v4
230230
with:
@@ -265,7 +265,7 @@ jobs:
265265
name: Code Coverage
266266
runs-on: ubuntu-latest
267267
steps:
268-
- uses: actions/checkout@v4
268+
- uses: actions/checkout@v5
269269
- uses: actions/cache@v4
270270
with:
271271
path: |
@@ -301,7 +301,7 @@ jobs:
301301
runs-on: ${{ matrix.os }}
302302
continue-on-error: ${{ matrix.continue-on-error || false }}
303303
steps:
304-
- uses: actions/checkout@v4
304+
- uses: actions/checkout@v5
305305
- uses: actions-rs/audit-check@v1
306306
with:
307307
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Checkout
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v5
4242
with:
4343
# We need history to get tags
4444
fetch-depth: 0

Cargo.lock

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

cargo-wrt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ wrt-decoder = { path = "../wrt-decoder" }
2727
wrt-foundation = { path = "../wrt-foundation" }
2828

2929
# CLI framework
30-
clap = { version = "4.5.4", features = ["derive", "env"] }
30+
clap = { version = "4.5.39", features = ["derive", "env"] }
3131
anyhow = { workspace = true }
3232

3333
# Output formatting

wrt-build-core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ no_std = []
1414
[dependencies]
1515
# Core dependencies
1616
anyhow = { workspace = true }
17-
clap = { version = "4.5.4", features = ["derive", "env"] }
17+
clap = { version = "4.5.39", features = ["derive", "env"] }
1818
serde = { version = "1.0", features = ["derive"] }
1919
serde_json = "1.0"
2020
walkdir = "2.5.0"
@@ -33,7 +33,7 @@ md5 = "0.7"
3333

3434
# WAST test suite support
3535
wast = "235.0"
36-
wat = "1.0.89"
36+
wat = "1.232.0"
3737

3838
# Internal WRT crates
3939
wrt-error = { workspace = true }

wrt-component/src/async_/async_context_builtins.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ impl AsyncContext {
148148
pub fn new() -> Result<Self> {
149149
Ok(Self {
150150
#[cfg(feature = "std")]
151-
data: BTreeMap::new(),
151+
data: BTreeMap::new(),
152152
#[cfg(not(any(feature = "std",)))]
153-
data: {
153+
data: {
154154
let provider = safe_managed_alloc!(65536, CrateId::Component)?;
155155
BoundedMap::new(provider)?
156156
},

wrt-component/src/async_/fuel_async_executor.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ pub struct DebtCreditStats {
192192
pub debt_violations: u64,
193193
}
194194

195-
// FuelConsumptionRecord and FuelAlert are defined later in the file with complete implementations
195+
// FuelConsumptionRecord and FuelAlert are defined later in the file with
196+
// complete implementations
196197

197198
/// Async task representation with fuel tracking
198199
#[derive(Debug)]

wrt-component/src/cross_component_resource_sharing.rs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ use wrt_foundation::{
1818
// safe_memory::SafeMemory, // Not available
1919
};
2020

21-
use crate::prelude::WrtComponentValue;
2221
use crate::{
2322
generative_types::{
2423
GenerativeResourceType,
@@ -34,6 +33,7 @@ use crate::{
3433
CleanupTaskType,
3534
PostReturnRegistry,
3635
},
36+
prelude::WrtComponentValue,
3737
type_bounds::{
3838
TypeBoundsChecker,
3939
TypeRelation,
@@ -296,13 +296,14 @@ impl CrossComponentResourceSharingManager {
296296
resource: None,
297297
})?;
298298

299-
let provider = safe_managed_alloc!(65536, CrateId::Component).map_err(|e| ResourceSharingError {
300-
kind: ResourceSharingErrorKind::ResourceLimitExceeded,
301-
message: "Failed to allocate provider".to_string(),
302-
source_component: None,
303-
target_component: None,
304-
resource: None,
305-
})?;
299+
let provider =
300+
safe_managed_alloc!(65536, CrateId::Component).map_err(|e| ResourceSharingError {
301+
kind: ResourceSharingErrorKind::ResourceLimitExceeded,
302+
message: "Failed to allocate provider".to_string(),
303+
source_component: None,
304+
target_component: None,
305+
resource: None,
306+
})?;
306307

307308
Ok(Self {
308309
handle_manager: HandleRepresentationManager::new(),

wrt-component/src/threading/advanced_threading_builtins.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
1717
extern crate alloc;
1818

19+
use core::cell::RefCell as AtomicRefCell;
1920
#[cfg(feature = "std")]
2021
use std::{
2122
boxed::Box,
@@ -39,7 +40,6 @@ use wrt_foundation::{
3940
},
4041
types::ValueType,
4142
};
42-
use core::cell::RefCell as AtomicRefCell;
4343
#[cfg(not(feature = "std"))]
4444
use wrt_foundation::{
4545
budget_aware_provider::CrateId,

wrt-component/src/threading/waitable_set_builtins.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@
1616
1717
extern crate alloc;
1818

19-
#[cfg(feature = "std")]
20-
use std::{
21-
boxed::Box,
22-
collections::HashMap,
23-
collections::HashSet,
24-
vec::Vec,
25-
};
2619
use std::{
2720
boxed::Box,
2821
cell::RefCell as AtomicRefCell,
@@ -32,6 +25,13 @@ use std::{
3225
},
3326
vec::Vec,
3427
};
28+
#[cfg(feature = "std")]
29+
use std::{
30+
boxed::Box,
31+
collections::HashMap,
32+
collections::HashSet,
33+
vec::Vec,
34+
};
3535

3636
use wrt_error::{
3737
Error,

0 commit comments

Comments
 (0)