Skip to content
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

adding --hint:cc doesn't trigger a recompilation with nimBetterRun #257

Closed
timotheecour opened this issue May 25, 2020 · 0 comments
Closed
Labels
compiler_messages errors, warnings, hints

Comments

@timotheecour
Copy link
Owner

timotheecour commented May 25, 2020

EDIT:
explanation:
what's going on is that adding --hint:cc does indeed trigger nim compilation (because cmd line changed), as you can see with --hint:Processing

but it doesn't (typically unless you're doing smthg that depends at RT on this) trigger a "CC" rebuild, probably bc c files are same?
show:
/Users/timothee/git_clone/nim/Nim_prs/compiler/extccomp.nim:1006:6 jsonFile: /Users/timothee/.cache/nim/t10873_d/t10873.json;

links

if {optRun, optForceFullMake} * conf.globalOptions == {optRun} or isDefined(conf, "nimBetterRun"):
if optRun in conf.globalOptions or isDefined(conf, "nimBetterRun"):

EDIT: indeed, see shouldRecompile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler_messages errors, warnings, hints
Projects
None yet
Development

No branches or pull requests

1 participant