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

debug HFS on other systems #37

Merged
merged 4 commits into from
Jan 7, 2019
Merged

debug HFS on other systems #37

merged 4 commits into from
Jan 7, 2019

Conversation

Eh2406
Copy link
Contributor

@Eh2406 Eh2406 commented Jan 5, 2019

This is a follow up to the iday from rust-lang/cargo#6484 (comment)

This adds a FILETIME_EMULATE_SECOND_ONLY_SYSTEM, that allows debugging HFS from other hardware.

Copy link
Contributor

@dwijnand dwijnand left a comment

Choose a reason for hiding this comment

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

Looks like a great addition! I've submitted https://github.com/Eh2406/filetime/pull/1 with just some typo fixups.

@alexcrichton
Copy link
Owner

Thanks! Perhaps this could be a build-time opt-in though rather than a runtime configuration?

@Eh2406
Copy link
Contributor Author

Eh2406 commented Jan 7, 2019

What did you have in mind? I guess we could make it a feature flag. That would be un ergonomic if filetime is a transitive dependency, but in that case there is no easy way to tell if the intmeadiet dependency sometimes uses std.

@alexcrichton
Copy link
Owner

I think either a feature flag or something like requiring RUSTFLAGS=--cfg foo or something like that. I don't think this'll be used all that often so I think it's fine to compromise a bit on ergonomics.

@Eh2406
Copy link
Contributor Author

Eh2406 commented Jan 7, 2019

That look better?

@dwijnand
Copy link
Contributor

dwijnand commented Jan 7, 2019

Just need to fix s/systom/system/ in the code and README.

@Eh2406
Copy link
Contributor Author

Eh2406 commented Jan 7, 2019

I have seriously thought about asking for reddit flare "bad speller", I wish there was something like that for github. Thanks for spotting me!

@dwijnand
Copy link
Contributor

dwijnand commented Jan 7, 2019

I can recommend https://chrome.google.com/webstore/detail/grammarly-for-chrome/kbfnbcaeplbcioakkpcpgfkobkghlhen which does both grammatical and spelling mistakes. :)

@alexcrichton alexcrichton merged commit 5742734 into alexcrichton:master Jan 7, 2019
@alexcrichton
Copy link
Owner

👍

@@ -37,6 +37,7 @@
#[macro_use]
extern crate cfg_if;

use std::env;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops. this line can come out.

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.

3 participants