We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ca161c commit a2b38e8Copy full SHA for a2b38e8
src/items/external-blocks.md
@@ -66,7 +66,9 @@ of initializing the static.
66
67
Extern statics can be either immutable or mutable just like [statics] outside of external blocks.
68
An immutable static *must* be initialized before any Rust code is executed. It is not enough for
69
-the static to be initialized before Rust code reads from it.
+the static to be initialized before Rust code reads from it. Mutating a non-`mut`,
70
+non-interior-`mut` external static is undefined behavior, even if that mutation happens by non-Rust
71
+code.
72
73
## ABI
74
0 commit comments