Skip to content

Commit 9416c03

Browse files
authored
Intrinsics table update based on audit (rust-lang#1152)
1 parent 1a61de2 commit 9416c03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/rust-feature-support/intrinsics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Support | Notes |
1717
abort | Yes | |
1818
add_with_overflow | Yes | |
1919
arith_offset | No | |
20-
assert_inhabited | | |
20+
assert_inhabited | Yes | |
2121
assert_uninit_valid | Yes | |
2222
assert_zero_valid | Yes | |
2323
assume | Yes | |
@@ -167,7 +167,7 @@ nearbyintf32 | No | |
167167
nearbyintf64 | No | |
168168
needs_drop | Yes | |
169169
nontemporal_store | No | |
170-
offset | Yes | |
170+
offset | Partial | Doesn't check [all UB conditions](https://doc.rust-lang.org/std/primitive.pointer.html#safety-2) |
171171
powf32 | No | |
172172
powf64 | No | |
173173
powif32 | No | |
@@ -179,7 +179,7 @@ prefetch_write_data | No | |
179179
prefetch_write_instruction | No | |
180180
ptr_guaranteed_eq | Yes | |
181181
ptr_guaranteed_ne | Yes | |
182-
ptr_offset_from | Partial | Missing undefined behavior checks |
182+
ptr_offset_from | Partial | Doesn't check [all UB conditions](https://doc.rust-lang.org/std/primitive.pointer.html#safety-4) |
183183
raw_eq | Partial | Cannot detect [uninitialized memory](#uninitialized-memory) |
184184
rintf32 | No | |
185185
rintf64 | No | |
@@ -197,7 +197,7 @@ size_of_val | Yes | |
197197
sqrtf32 | No | |
198198
sqrtf64 | No | |
199199
sub_with_overflow | Yes | |
200-
transmute | Yes | |
200+
transmute | Partial | Doesn't check [all UB conditions](https://doc.rust-lang.org/nomicon/transmutes.html) |
201201
truncf32 | No | |
202202
truncf64 | No | |
203203
try | No | [#267](https://github.com/model-checking/kani/issues/267) |

0 commit comments

Comments
 (0)