Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

When saying RTS options are disabled, also say how to enable them

  • Loading branch information...
commit ef4372dc0ad6232dd36a91c0f4f043de6231aa74 1 parent adf339b
@igfoo igfoo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 rts/RtsFlags.c
View
4 rts/RtsFlags.c
@@ -418,7 +418,7 @@ setupRtsFlags(int *argc, char *argv[], int *rts_argc, char *rts_argv[])
splitRtsFlags(ghc_rts, rts_argc, rts_argv);
}
else {
- errorBelch("Warning: Ignoring GHCRTS variable");
+ errorBelch("Warning: Ignoring GHCRTS variable as RTS options are disabled.\n Link with -rtsopts to enable them.");
// We don't actually exit, just warn
}
}
@@ -443,7 +443,7 @@ setupRtsFlags(int *argc, char *argv[], int *rts_argc, char *rts_argv[])
mode = RTS;
}
else {
- errorBelch("RTS options are disabled");
+ errorBelch("RTS options are disabled. Link with -rtsopts to enable them.");
stg_exit(EXIT_FAILURE);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.