Skip to content

Commit 94429de

Browse files
committed
note noalias attribute
1 parent 3241b8f commit 94429de

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/src/glossary.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ One interesting side effect of these rules is that references and pointers to
3838
Zero Sized Types _never_ alias each other, because their span length is always 0
3939
bytes.
4040

41+
It is also important to know that LLVM IR has a `noalias` attribute that works
42+
somewhat differently from this definition. However, that's considered a low
43+
level detail of a particular Rust implementation. When programming Rust, the
44+
Abstract Rust Machine is intended to operate according to the definition here.
45+
4146
#### Interior mutability
4247

4348
*Interior Mutation* means mutating memory where there also exists a live shared reference pointing to the same memory; or mutating memory through a pointer derived from a shared reference.

0 commit comments

Comments
 (0)