Commit d40d61f
committed
Remove use of the
`#![feature(start)]` was removed in [1], but we make use of it in the
intrinsics example. Replace use of this feature with `#[no_mangle]`
applied to `#[main]`.
We don't actually run this example so it is not a problem if this is not
entirely accurate. Currently the example does not run to completion,
instead invoking `rust_begin_unwind`.
[1]: rust-lang/rust#134299start feature1 parent ee92690 commit d40d61f
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
15 | 13 | | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
630 | 629 | | |
631 | 630 | | |
632 | 631 | | |
633 | | - | |
| 632 | + | |
634 | 633 | | |
635 | 634 | | |
636 | 635 | | |
637 | | - | |
638 | 636 | | |
639 | 637 | | |
640 | 638 | | |
| |||
649 | 647 | | |
650 | 648 | | |
651 | 649 | | |
| 650 | + | |
652 | 651 | | |
653 | | - | |
654 | | - | |
| 652 | + | |
655 | 653 | | |
656 | 654 | | |
657 | 655 | | |
658 | 656 | | |
659 | | - | |
660 | 657 | | |
| 658 | + | |
661 | 659 | | |
662 | 660 | | |
663 | 661 | | |
| |||
0 commit comments