diff options
author | Ian Lynagh <igloo@earth.li> | 2010-08-05 01:11:37 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-08-05 01:11:37 +0000 |
commit | 320738062c7a81f062c5adab98a1a1c4fdbd4bc7 (patch) | |
tree | c7852c0dae4d2c50b78797fab6ce65a6e88da98f /includes | |
parent | d0fb9a95f40453321b82e23d9b322e79340b48c9 (diff) | |
download | haskell-320738062c7a81f062c5adab98a1a1c4fdbd4bc7.tar.gz |
Make -rtsopts more flexible
The default is a new "some" state, which allows only known-safe flags
that we want on by default. Currently this is only "--info".
Diffstat (limited to 'includes')
-rw-r--r-- | includes/RtsOpts.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/includes/RtsOpts.h b/includes/RtsOpts.h new file mode 100644 index 0000000000..e81a41c7df --- /dev/null +++ b/includes/RtsOpts.h @@ -0,0 +1,16 @@ +/* ----------------------------------------------------------------------------- + * + * (c) The GHC Team, 2010 + * + * En/disable RTS options + * + * ---------------------------------------------------------------------------*/ + +#ifndef RTSOPTS_H +#define RTSOPTS_H + +typedef enum {rtsOptsNone, rtsOptsSafeOnly, rtsOptsAll} rtsOptsEnabledEnum; + +extern const rtsOptsEnabledEnum rtsOptsEnabled; + +#endif /* RTSOPTS_H */ |