Commit 6c37129
committed
Fix missing
`unsafe` functions were being matched in a different block that did not
include `extern $abi`. This means that some intrinsics were getting
generated with the Rust ABI rather than C.
Combine the last two blocks using an optional token matcher, which fixes
this problem and is cleaner.extern "C" for unsafe functions1 parent 06db2de commit 6c37129
1 file changed
+3
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
| 452 | + | |
480 | 453 | | |
481 | 454 | | |
482 | 455 | | |
483 | 456 | | |
484 | 457 | | |
485 | 458 | | |
486 | | - | |
| 459 | + | |
487 | 460 | | |
488 | 461 | | |
489 | 462 | | |
| |||
492 | 465 | | |
493 | 466 | | |
494 | 467 | | |
495 | | - | |
| 468 | + | |
496 | 469 | | |
497 | 470 | | |
498 | 471 | | |
| |||
0 commit comments