Skip to content

Commit 7c04beb

Browse files
djcnagisa
authored andcommitted
Bump MSRV to 1.71 for windows-link
1 parent 559e465 commit 7c04beb

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/libloading.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
rust_toolchain: [nightly, stable, 1.63.0]
18+
rust_toolchain: [nightly, stable, 1.71.0]
1919
os: [ubuntu-latest, windows-latest, macOS-latest]
2020
timeout-minutes: 20
2121
steps:
@@ -24,7 +24,7 @@ jobs:
2424
- run: rustup default ${{ matrix.rust_toolchain }}
2525
- run: rustup component add clippy
2626
- run: cargo update -p libc --precise 0.2.155
27-
if: ${{ matrix.rust_toolchain == '1.63.0' }}
27+
if: ${{ matrix.rust_toolchain == '1.71.0' }}
2828
- run: cargo clippy
2929
- run: cargo test -- --nocapture
3030
- run: cargo test --release -- --nocapture

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ readme = "README.mkd"
1212
description = "Bindings around the platform's dynamic library loading primitives with greatly improved memory safety."
1313
keywords = ["dlopen", "load", "shared", "dylib"]
1414
categories = ["api-bindings"]
15-
rust-version = "1.56.0"
15+
rust-version = "1.71.0"
1616
edition = "2015"
1717

1818
[target.'cfg(windows)'.dependencies.windows-targets]

src/safe.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ impl<'lib, T> Symbol<'lib, T> {
261261
/// was loaded from.
262262
pub unsafe fn try_as_raw_ptr(self) -> Option<*mut raw::c_void> {
263263
Some(
264-
#[allow(unused_unsafe)] // 1.56.0 compat
265264
unsafe {
266265
// SAFE: the calling function has the same soundness invariants as this callee.
267266
self.into_raw()

0 commit comments

Comments
 (0)