Skip to content

Commit cf70302

Browse files
committed
Bump ruby, deps and fix clippy warning for Rust 1.79
1 parent aa33771 commit cf70302

File tree

3 files changed

+30
-18
lines changed

3 files changed

+30
-18
lines changed

mmtk/Cargo.lock

+17-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mmtk/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ edition = "2021"
1212
# Metadata for the Ruby repository
1313
[package.metadata.ci-repos.ruby]
1414
repo = "mmtk/ruby" # This is used by actions/checkout, so the format is "owner/repo", not URL.
15-
rev = "0f475fdfee76247c516464aac04022338a5ed824"
15+
rev = "c9ff790aa7692fc941757cd9ca1d2e64e63cb9b6"
1616

1717
[lib]
1818
name = "mmtk_ruby"

mmtk/src/binding.rs

+12
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ pub struct RubyBindingFast {
1919
pub gc_enabled: AtomicBool,
2020
}
2121

22+
impl Default for RubyBindingFast {
23+
fn default() -> Self {
24+
Self::new()
25+
}
26+
}
27+
2228
impl RubyBindingFast {
2329
pub const fn new() -> Self {
2430
Self {
@@ -33,6 +39,12 @@ pub struct RubyBindingFastMut {
3339
pub suffix_size: usize,
3440
}
3541

42+
impl Default for RubyBindingFastMut {
43+
fn default() -> Self {
44+
Self::new()
45+
}
46+
}
47+
3648
impl RubyBindingFastMut {
3749
pub const fn new() -> Self {
3850
Self { suffix_size: 0 }

0 commit comments

Comments
 (0)