File tree Expand file tree Collapse file tree 3 files changed +482
-0
lines changed Expand file tree Collapse file tree 3 files changed +482
-0
lines changed Original file line number Diff line number Diff line change 114
114
115
115
- [ Linkage] ( linkage.md )
116
116
117
+ - [ Inline assembly] ( inline-assembly.md )
118
+
117
119
- [ Unsafety] ( unsafety.md )
118
120
- [ Unsafe functions] ( unsafe-functions.md )
119
121
- [ Unsafe blocks] ( unsafe-blocks.md )
Original file line number Diff line number Diff line change 58
58
59
59
> ** Note** : ` rustc ` achieves this with the unstable
60
60
> ` rustc_layout_scalar_valid_range_* ` attributes.
61
+ * Incorrect use of inline assembly. For more details, refer to the [ rules] to
62
+ follow when writing code that uses inline assembly.
61
63
62
64
** Note:** Uninitialized memory is also implicitly invalid for any type that has
63
65
a restricted set of valid values. In other words, the only cases in which
@@ -94,3 +96,4 @@ cannot be bigger than `isize::MAX` bytes.
94
96
[ `NonZero*` ] : ../core/num/index.html
95
97
[ dereference expression ] : expressions/operator-expr.md#the-dereference-operator
96
98
[ place expression context ] : expressions.md#place-expressions-and-value-expressions
99
+ [ rules ] : inline-assembly.md#rules-for-inline-assembly
You can’t perform that action at this time.
0 commit comments