Conversation
|
Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, some commit checks failed. talpid-core/src/tunnel/mod.rs, line 220 at r1 (raw file):
I am a little bit confused about that error. How's it possible that executable has no parent directory? I can only see that happen if it's running from memory location but then Thoughts? Comments from Reviewable |
|
Review status: 0 of 1 files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. talpid-core/src/tunnel/mod.rs, line 215 at r1 (raw file):
Regarding error handling. I feel it's easy to have an explosion of errors that can virtually never happen. If you look at talpid-core/src/tunnel/mod.rs, line 220 at r1 (raw file):
Strictly according to the types, this error can happen. But can it happen in practice? If the Which means it should be fairly safe to either just Comments from Reviewable |
|
Review status: 0 of 1 files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. talpid-core/src/tunnel/mod.rs, line 220 at r1 (raw file): Previously, pronebird (Andrei Mihailov) wrote…
What does "running from memory location" mean? Comments from Reviewable |
|
Review status: 0 of 1 files reviewed at latest revision, 3 unresolved discussions, some commit checks broke. talpid-core/src/tunnel/mod.rs, line 220 at r1 (raw file): Previously, faern (Linus Färnstrand) wrote…
Which is why we use Comments from Reviewable |
|
Review status: 0 of 1 files reviewed at latest revision, 3 unresolved discussions, some commit checks broke. talpid-core/src/tunnel/mod.rs, line 220 at r1 (raw file): Previously, faern (Linus Färnstrand) wrote…
You can google "launching exe from a memory buffer" Comments from Reviewable |
|
Reviewed 1 of 1 files at r1. Comments from Reviewable |
|
The Travis CI build failed, but it was due to a compiler bug (rust-lang/rust#48336). Review status: 0 of 1 files reviewed at latest revision, 3 unresolved discussions. talpid-core/src/tunnel/mod.rs, line 215 at r1 (raw file): Previously, faern (Linus Färnstrand) wrote…
Agreed. I removed both errors and used the same approach as in talpid-core/src/tunnel/mod.rs, line 220 at r1 (raw file): Previously, faern (Linus Färnstrand) wrote…
Removed as well, since it should never happen. Comments from Reviewable |
|
Reviewed 1 of 1 files at r2. Comments from Reviewable |
|
Review status: all files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. talpid-core/src/tunnel/mod.rs, line 220 at r1 (raw file): Previously, pronebird (Andrei Mihailov) wrote…
This piece has been removed so I marked this thread as satisfied. Comments from Reviewable |
|
Reviewed 1 of 1 files at r2. Comments from Reviewable |
ff33375 to
ff14010
Compare
|
Should this change be described in the changelog? From my understanding this is mostly a developer visible feature, correct? Review status: 1 of 2 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
|
It might also be noticed by power users. And it is a change in functionality. But I agree it could be classified as slightly borderline. I like the part you added, it's good. Reviewed 1 of 1 files at r3. Comments from Reviewable |
|
Reviewed 1 of 1 files at r2, 1 of 1 files at r3. Comments from Reviewable |
|
Reviewed 1 of 1 files at r3. Comments from Reviewable |
Executable without parent directory should never happen. In either case, the current working directory is used as a fallback and the error is logged. This is the same procedure used for the resources directory.
ff14010 to
f42ab66
Compare
Checklist for a PR:
CHANGELOG.md. Only applicable if the change has any impact for a user.This change is