diff options
| author | coqbot-app[bot] | 2021-02-10 15:05:49 +0000 |
|---|---|---|
| committer | GitHub | 2021-02-10 15:05:49 +0000 |
| commit | 7ac95ead2c2c7f905ffbdd395e9ffb1fbf76c4d3 (patch) | |
| tree | 64363f06cb9e54582198ffb5aa4363d111056988 /sysinit/coqargs.mli | |
| parent | 132b2e240e1869be5ca0cc7200aa4ab6a94f2275 (diff) | |
| parent | 74aabc032014b0b83f2d54996dbb76cb5a78ea4d (diff) | |
Merge PR #13821: Properly handle ordering of -w and -native-compiler
Reviewed-by: gares
Diffstat (limited to 'sysinit/coqargs.mli')
| -rw-r--r-- | sysinit/coqargs.mli | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysinit/coqargs.mli b/sysinit/coqargs.mli index 4dd3f32ad0..9725a849a4 100644 --- a/sysinit/coqargs.mli +++ b/sysinit/coqargs.mli @@ -28,7 +28,12 @@ type injection_command = ready. Parameters follow [Library], that is to say, [lib,prefix,import_export] means require library [lib] from optional [prefix] and [import_export] if [Some false/Some true] - is used. *) + is used. *) + | WarnNoNative of string + (** Used so that "-w -native-compiler-disabled -native-compiler yes" + does not cause a warning. The native option must be processed + before injections (because it affects require), so the + instruction to emit a message is separated. *) type coqargs_logic_config = { impredicative_set : Declarations.set_predicativity; |
