This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import core.internal.traits : externDFunc;
18
18
19
19
20
20
@nogc nothrow :
21
- extern extern (C) string [] rt_args();
21
+ extern extern (C) string [] rt_args() @system ;
22
22
23
23
extern extern (C) __gshared bool rt_envvars_enabled;
24
24
extern extern (C) __gshared bool rt_cmdline_enabled;
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ import core.stdc.ctype : toupper;
61
61
import core.stdc.stdlib : getenv;
62
62
import core.stdc.string : strlen;
63
63
64
- extern extern (C) string [] rt_args() @nogc nothrow ;
64
+ extern extern (C) string [] rt_args() @nogc nothrow @system ;
65
65
66
66
alias rt_configCallBack = string delegate (string ) @nogc nothrow ;
67
67
Original file line number Diff line number Diff line change 1
1
// Code adapted from
2
2
// http://arsdnet.net/this-week-in-d/2016-aug-07.html
3
3
extern extern (C) __gshared bool rt_trapExceptions;
4
- extern extern (C) int _d_run_main(int , char ** , void * );
4
+ extern extern (C) int _d_run_main(int , char ** , void * ) @system ;
5
5
6
6
extern (C ) int main(int argc, char ** argv) {
7
7
rt_trapExceptions = false ;
You can’t perform that action at this time.
0 commit comments