Commit e7fd5be
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 a4805de commit e7fd5be
1 file changed
Lines changed: 3 additions & 30 deletions
| 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