Skip to content

Commit d4922c2

Browse files
bors[bot]myrfy001
andauthored
Merge #79
79: undate Assembly on stable chapter r=adamgreig a=myrfy001 undate Assembly on stable chapter since rust 1.59 has made them stable Co-authored-by: mmh <myrfy001@users.noreply.github.com>
2 parents 6c669e2 + cf23082 commit d4922c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/asm.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Assembly on stable
22

3+
> Note: Since Rust 1.59, both *inline* assembly (`asm!`) and *free form* assembly
4+
> (`global_asm!`) become stable. But since it will take some time for the
5+
> existing crates to catchup the change, and since it's good for us to know the
6+
> other ways in history we used to deal with assembly, we will keep this chapter
7+
> here.
8+
39
So far we have managed to boot the device and handle interrupts without a single
410
line of assembly. That's quite a feat! But depending on the architecture you are
511
targeting you may need some assembly to get to this point. There are also some

0 commit comments

Comments
 (0)