Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/internal/parseoptions.d
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import core.internal.traits : externDFunc;


@nogc nothrow:
extern extern(C) string[] rt_args();
extern extern(C) string[] rt_args() @system;

extern extern(C) __gshared bool rt_envvars_enabled;
extern extern(C) __gshared bool rt_cmdline_enabled;
Expand Down
2 changes: 1 addition & 1 deletion src/rt/config.d
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ import core.stdc.ctype : toupper;
import core.stdc.stdlib : getenv;
import core.stdc.string : strlen;

extern extern(C) string[] rt_args() @nogc nothrow;
extern extern(C) string[] rt_args() @nogc nothrow @system;

alias rt_configCallBack = string delegate(string) @nogc nothrow;

Expand Down
2 changes: 1 addition & 1 deletion test/exceptions/src/rt_trap_exceptions.d
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Code adapted from
// http://arsdnet.net/this-week-in-d/2016-aug-07.html
extern extern(C) __gshared bool rt_trapExceptions;
extern extern(C) int _d_run_main(int, char**, void*);
extern extern(C) int _d_run_main(int, char**, void*) @system;

extern(C) int main(int argc, char** argv) {
rt_trapExceptions = false;
Expand Down