Closed nuke-web3 closed 1 year ago
Is this issue about jupyter only? Or is it bigger about all rust builds
Mostly jupyter - as every kernel restasrt uses a new /tmp/<random>
target
CARGO_TARGET_DIR — Location of where to place all generated artifacts, relative to the current working directory. See build.target-dir to set via config.
Mentioned in this great steam https://www.youtube.com/watch?v=pMiqRM5ooNw
https://github.com/google/evcxr/issues/231 opened to ask formally
Answer
If you set EVCXR_TMPDIR, then evcxr will just use that one directory. If you have multiple kernels running, then you should make sure they have separate directories.
as much as possible, reuse all build work without omtroducing jupyter issues related to it (maybe) needing some things reset between each run.