Skip to content

Commit

Permalink
update rb-sys to fix CI against Ruby head
Browse files Browse the repository at this point in the history
  • Loading branch information
matsadler committed Oct 5, 2024
1 parent 65e35e5 commit b6325e1
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- "3.3"
- head
rustup-toolchain:
- "1.61"
- "1.65"
- stable
exclude:
- os: windows-latest
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- `typed_data::Writebarrier::writebarrier` and `writebarrier_unprotect`.

### Changed
- Minimum supported Rust version in now 1.65.
- Conversions between Ruby's `Time` and Rust's `SystemTime` now preserve
nanosecond precision.
- 'old-api' feature, which disables deprecation warnings for the old api is no
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ rb-sys = []
bytes = { version = "1", optional = true }
chrono = { version = "0.4.38", optional = true }
magnus-macros = { version = "0.6.0", path = "magnus-macros" }
rb-sys = { version = "0.9.85", default-features = false, features = [
rb-sys = { version = "0.9.102", default-features = false, features = [
"bindgen-rbimpls",
"bindgen-deprecated-types",
"stable-api",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ recommended and future support in Magnus is not guaranteed.
Ruby bindings will be generated at compile time, this may require libclang to
be installed.

The Minimum supported Rust version is currently Rust 1.61.
The Minimum supported Rust version is currently Rust 1.65.

Support for statically linking Ruby is provided via the lower-level [rb-sys]
crate, and can be enabled by adding the following to your `Cargo.toml`:
Expand Down
8 changes: 4 additions & 4 deletions examples/complete_object/ext/temperature/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions examples/custom_exception_ruby/ext/ahriman/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions examples/custom_exception_rust/ext/ahriman/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions examples/rust_blank/ext/rust_blank/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ for VERSION in $RUBY_VERSIONS; do
eval "$(rbenv init - sh)"
rbenv shell $VERSION
printf "testing Ruby $VERSION..."
if OUTPUT=$(env RUBY="$(rbenv which ruby)" cargo +1.61 test --workspace 2>&1); then
if OUTPUT=$(env RUBY="$(rbenv which ruby)" cargo +1.65 test --workspace 2>&1); then
echo
else
ERRORS="$ERRORS\n\n\n$VERSION\n\n$OUTPUT"
Expand Down

0 comments on commit b6325e1

Please sign in to comment.