Commit cab2732
authored
fix a syntax bug in example assembly (#1511)
The `call *` syntax is used in AT&T syntax but not in Intel syntax.
(Source: https://stackoverflow.com/a/19088205/823869.) To make this
example compile, I think we need to remove the `*`.
Playground example broken: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=585dff3c1b43c7a493082ea66c7cdaad
Playground example working: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=c4517f46219140ba4345a1656fe7e1061 parent f192719 commit cab2732
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
0 commit comments