Skip to content

Commit

Permalink
chore: set parseQuotWithCurrentStage and prefer_native
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuisi committed Nov 8, 2024
1 parent e82843c commit b3bff80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stage0/src/stdlib_flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ options get_default_options() {
// see https://lean-lang.org/lean4/doc/dev/bootstrap.html#further-bootstrapping-complications
#if LEAN_IS_STAGE0 == 1
// switch to `true` for ABI-breaking changes affecting meta code
opts = opts.update({"interpreter", "prefer_native"}, false);
opts = opts.update({"interpreter", "prefer_native"}, true);
// switch to `true` for changing built-in parsers used in quotations
opts = opts.update({"internal", "parseQuotWithCurrentStage"}, false);
opts = opts.update({"internal", "parseQuotWithCurrentStage"}, true);
// toggling `parseQuotWithCurrentStage` may also require toggling the following option if macros/syntax
// with custom precheck hooks were affected
opts = opts.update({"quotPrecheck"}, true);
Expand Down

0 comments on commit b3bff80

Please sign in to comment.