Skip to content

Conversation

usamoi
Copy link
Contributor

@usamoi usamoi commented Sep 16, 2024

#549 introduces "ctime" linemode but it makes joshuto immediately panic because it calls Metadata::created. For x86_64-unknown-linux-musl target, it always panics.

This PR removes "ctime" temporaily.

You can merge this PR and revert this PR when Metadata::created is supported for musl in Rust.

@kamiyaa
Copy link
Owner

kamiyaa commented Sep 18, 2024

I think what we can have is a default SystemTime value (like default unix epoch time or something) when compiling to musl target

How does that sound?

@usamoi
Copy link
Contributor Author

usamoi commented Sep 18, 2024

How does that sound?

If users notice that all their files were created on 1970-01-01, wouldn't they feel confused?

@kamiyaa kamiyaa merged commit 9728c35 into kamiyaa:main Sep 28, 2024
4 checks passed
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.

2 participants