Skip to content

Commit 42629a0

Browse files
committed
chore: Update gc-arena to latest master
No API changes, but fixes a potential unsoundness in the `field!` macro.
1 parent 2f19fd7 commit 42629a0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ egui = { git = "https://github.com/emilk/egui.git", branch = "main" }
5757
clap = { version = "4.5.44", features = ["derive"] }
5858
cpal = "0.15.3"
5959
anyhow = "1.0"
60-
gc-arena = { git = "https://github.com/kyren/gc-arena.git", rev = "cef6db5e15bdf27f3c85b83ec0455431f134d2f0" }
60+
gc-arena = { git = "https://github.com/kyren/gc-arena.git", rev = "08e08414249d5914dfc3b402d7eadc133e00ce56" }
6161
slotmap = "1.0.7"
6262
async-channel = "2.5.0"
6363
bitflags = "2.9.1"

core/src/avm2/vtable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl<'gc> VTable<'gc> {
207207
pub fn replace_scopes_with(self, mc: &Mutation<'gc>, new_scope: ScopeChain<'gc>) {
208208
let methods = field!(Gc::write(mc, self.0), VTableData, method_table).as_deref();
209209
for i in 0..methods.len() {
210-
unlock!(methods[i], ClassBoundMethod, scope).set(Some(new_scope));
210+
unlock!(&methods[i], ClassBoundMethod, scope).set(Some(new_scope));
211211
}
212212
}
213213

0 commit comments

Comments
 (0)