forked from nim-works/nimskull
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std:
compilesettings
show CLI compile/link flags
Summary ======= `compilersettings` now includes compiler and linker options that are set via the command-line `--passc/passl` flags. Details ===== Prior to this change only pragma based compiler and linker options were shown, via `{.passC: "...".}` or `{.passL:"...".}`. Now `vmops`, which implements the compile time querying, uses compiler and link option construction procedures from `extccomp` module, which orchestrates C compilation and linking, to fulfill the query. As part of this change the `tcompilesetting` test has been updated to ensure these continue to work. Note: the `compilesettings` query for compile options does _not_ include module specific compile options, set via `{.localPassc: "...".}` pragma. This could be implemented, but that would likely require further changes, like introducing a new query to get all file compiler options vs file specific.
- Loading branch information
Showing
3 changed files
with
10 additions
and
6 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