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

BUG [rebuild] nim doesn't rebuild when it should #55

Open
2 tasks
timotheecour opened this issue Mar 10, 2020 · 0 comments
Open
2 tasks

BUG [rebuild] nim doesn't rebuild when it should #55

timotheecour opened this issue Mar 10, 2020 · 0 comments

Comments

@timotheecour
Copy link
Owner

timotheecour commented Mar 10, 2020

  • if we change dir and --lib:lib points to a new Nim location
    nim c -r --lib:lib main
    cd other_nim
    nim c -r --lib:lib main
    should rebuild but doesn't

analog to nim-lang#12933

  • in this strange case:
cd $vitanim_D
nim c -r testcases/t10334.nim
nim c -r testcases/t10334.nim # doesn't rebuild, runs wrong binary

=> doesn't rebuild when the binary itself runs the same file eg via:

execShellCmd "{getCurrentCompilerExe()} c -r -d:foo {currentSourcePath}"
@timotheecour timotheecour changed the title BUG nim doesn't rebuild if we change dir and --lib:lib points to a new Nim location [rebuild] BUG nim doesn't rebuild if we change dir and --lib:lib points to a new Nim location Mar 10, 2020
@timotheecour timotheecour changed the title [rebuild] BUG nim doesn't rebuild if we change dir and --lib:lib points to a new Nim location BUG [rebuild] nim doesn't rebuild if we change dir and --lib:lib points to a new Nim location Mar 10, 2020
@timotheecour timotheecour changed the title BUG [rebuild] nim doesn't rebuild if we change dir and --lib:lib points to a new Nim location BUG [rebuild] nim doesn't rebuild when it should Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant