-
-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
f253d68b85 added support for #RAKUDO_FLAVOR# in source code that is being handled by the tools/build/gen-cat.nqp script. This commit slightly tweaks that, by just returning the actual string found in %*ENV<RAKUDO_FLAVOR> without a space prefixed. Adapt Compiler.nqp accordingly and add method "flavor" so that any code can introspect which flavor of Rakudo is being run. This could e.g. be used to assume (non-)availability of installed modules depending on the flavor, or just simply add the flavor to certain (error) messages.
- Loading branch information
Showing
3 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters