Skip to content

Commit 236e014

Browse files
Lokathorehuss
andauthored
Update src/attributes/codegen.md
Co-authored-by: Eric Huss <[email protected]>
1 parent df9643a commit 236e014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/attributes/codegen.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ trait object whose methods are attributed.
355355

356356
## The `instruction_set` attribute
357357

358-
On some CPU architectures it is possible to mix more than one instruction set into a single program.
359-
The `instruction_set` attribute lets you control which instruction set a particular function will be generated for.
358+
The *`instruction_set` [attribute]* may be applied to a function to control which instruction set the function will be generated for.
359+
This allows mixing more than one instruction set in a single program on CPU architectures that support it.
360360
It uses the [_MetaListPath_] syntax, and a path comprised of the architecture family name and instruction set name.
361361

362362
[_MetaListPath_]: ../attributes.md#meta-item-attribute-syntax

0 commit comments

Comments
 (0)