File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 39
39
* A value in a ` char ` which is a surrogate or above ` char::MAX ` .
40
40
* Non-UTF-8 byte sequences in a ` str ` .
41
41
42
+ > ** Note** : Undefined behavior affects the entire program. For example, calling
43
+ > a function in C that exhibits undefined behavior of C means your entire
44
+ > program contains undefined behaviour that can also affect the Rust code. And
45
+ > vice versa, undefined behavior in Rust can cause adverse affects on code
46
+ > executed by any FFI calls to other languages.
47
+
42
48
[ noalias ] : http://llvm.org/docs/LangRef.html#noalias
43
49
[ pointer aliasing rules ] : http://llvm.org/docs/LangRef.html#pointer-aliasing-rules
44
50
[ undef ] : http://llvm.org/docs/LangRef.html#undefined-values
You can’t perform that action at this time.
0 commit comments