Skip to content

Commit ac10376

Browse files
committed
reviews
1 parent 5025fb6 commit ac10376

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posts/Rust-1.86.0.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ fn bar() {
110110

111111
### Debug assertions that pointers are non-null when required for soundness
112112

113-
The compiler will now insert checks that a pointer is not null upon non-zero-sized reads and writes, and also when the pointer is reborrowed into a reference. For example, the following code will now produce a non-unwinding panic:
113+
The compiler will now insert debug assertions that a pointer is not null upon non-zero-sized reads and writes, and also when the pointer is reborrowed into a reference. For example, the following code will now produce a non-unwinding panic when debug assertions are enabled:
114114
```rust
115115
let _x = *std::ptr::null::<u8>();
116116
let _x = &*std::ptr::null::<u8>();
@@ -129,7 +129,7 @@ You can check the [Explicit Extern ABIs RFC](https://rust-lang.github.io/rfcs/37
129129

130130
The target `i586-pc-windows-msvc` will be removed in the next version of Rust, 1.87.0. Its difference to the much more popular `i686-pc-windows-msvc` is that it does not require SSE2 instruction support, but Windows 10, the minimum required OS version of all `windows` targets (except the `win7` targets), requires SSE2 instructions itself.
131131

132-
If SSE2 instructions are supported then users currently targeting `i586-pc-windows-msvc` should migrate to `i686-pc-windows-gnu` before the `1.87.0` release.
132+
If SSE2 instructions are supported then users currently targeting `i586-pc-windows-msvc` should migrate to `i686-pc-windows-msvc` before the `1.87.0` release.
133133

134134
You can check the [Major Change Proposal](https://github.com/rust-lang/compiler-team/issues/840) for more information.
135135

0 commit comments

Comments
 (0)