-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix #9405 - cfg and nims run in sync; correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in order #13488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6bd56ea to
38eeb9e
Compare
38eeb9e to
617f15b
Compare
617f15b to
cd4f6de
Compare
cd4f6de to
bdeda13
Compare
|
PTAL |
47fd753 to
bdeda13
Compare
…difiedyNotes, cmdlineNotes
|
PTAL please see here: https://github.com/nim-lang/Nim/pull/13488/files/ed82b9a482dd0a9b90547117ab8eb641feed1993..53d4ad816cbf5a50da74de7d6a3fb26437b3ed95 for the range of commits after @genotrance ' commit I fixed a number of issues to have saner semantics wrt how notes are processed amongst defaults, verbosity, cmdline, config. implementation notes(in case the comments I added in code aren't enough)
graph.compileSystemModule() # TODO: see why this unsets hintConf in conf.notesWithout this, you'd get the errors I mentioned in top post (see |
|
Note: This should be backported |
rationale
neither #13472 nor #13461 are correct wrt hintConf; this PR correctly handles nimConf, and honors all cfg/nims/cmdline flags that contains references to
hintConfoutputs with or without Conf hints depending on what's in cfg/nims after whole processing
output from #13461
--hint:conf:offin ~/.config/nim/nim.cfg) is now not honored, and there's no way to hide those Conf hints anymoreoutput from #13461
--hint:conf:offin ~/.config/nim/nim.cfg) is now not honored, and there's no way to hide those Conf hints anymore