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

Added windows paths support #209

Merged
merged 2 commits into from
Feb 26, 2021
Merged

Conversation

diondokter
Copy link
Contributor

Fixes #43

I don't know if this is the best way to do it, but it seems to work.
Normally I would use the std for this, but apparently this is a no_std crate. I guess for binary size?

Copy link
Contributor

@philipc philipc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this is the best way to do it, but it seems to work.

Seems good to me!

Normally I would use the std for this, but apparently this is a no_std crate. I guess for binary size?

This crate is used in backtrace-rs, which is used to implement backtraces in libstd, so it can't depend on libstd for that.

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@philipc philipc merged commit 96e803c into gimli-rs:master Feb 26, 2021
@diondokter diondokter deleted the windows_path_support branch February 26, 2021 08:46
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

Successfully merging this pull request may close these issues.

Fix logic to handle absolute paths on Windows
2 participants