Skip to content

Commit

Permalink
Increase MSRV to 1.52.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dylni committed Nov 27, 2021
1 parent 94bd618 commit 6acb7e6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
strategy:
matrix:
target: [wasm32-unknown-unknown, wasm32-wasi, x86_64-unknown-redox]
version: [1.51.0, stable, beta, nightly]
version: [1.52.0, stable, beta, nightly]
include:
- target: x86_64-fortanix-unknown-sgx
version: nightly
Expand All @@ -77,4 +77,4 @@ jobs:
strategy:
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
version: [1.51.0, stable, beta, nightly]
version: [1.52.0, stable, beta, nightly]
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "os_str_bytes"
version = "5.0.0"
authors = ["dylni"]
edition = "2018"
rust-version = "1.51.0"
rust-version = "1.52.0"
description = """
Utilities for converting between byte sequences and platform-native strings
"""
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ The minimum supported Rust toolchain version depends on the platform:
<tr>
<td>Unix</td>
<td>Unix</td>
<td>1.51.0</td>
<td>1.52.0</td>
</tr>
<tr>
<td>WASI</td>
<td><code>*-wasi</code></td>
<td>1.51.0</td>
<td>1.52.0</td>
</tr>
<tr>
<td>WebAssembly</td>
<td><code>wasm32-*-unknown</code></td>
<td>1.51.0</td>
<td>1.52.0</td>
</tr>
<tr>
<td>Windows</td>
<td><code>*-windows-*</code></td>
<td>1.51.0</td>
<td>1.52.0</td>
</tr>
</table>

Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
all(target_vendor = "fortanix", target_env = "sgx"),
feature(sgx_platform)
)]
#![forbid(unsafe_op_in_unsafe_fn)]
#![warn(unused_results)]

use std::borrow::Cow;
Expand Down

0 comments on commit 6acb7e6

Please sign in to comment.