-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
time::strptime() task failure with rustc 0.6 #7256
Comments
rusti> extra::time::strptime("360", "%Y-%m-%d")
Err(~"Invalid year") Works for me on master. |
@mblbruce Thanks for the report! We do like to make sure that bugs aren't present on master before filing them, but if you don't have a copy on-hand to test yourself feel free to join us in the IRC channel ( http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust ) and ask one of us to try it out. It also shouldn't be too hard to build Rust yourself. |
huonw
added a commit
to huonw/rust
that referenced
this issue
Jun 20, 2013
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jun 3, 2021
…-collection, r=flip1995 Adding the ability to invalidate caches to force metadata collection This adds the discussed hack to touch `clippy_lints/src/lib.rs` to invalidate cargos cache and force metadata collection. I've decided to use the [`filetime`](https://github.com/alexcrichton/filetime) crate instead of the touch command to make is cross-platform and just cleaner in general. Looking at the maintainers I would say that it's a save crate to use xD. --- cc: rust-lang#7172 I know this ID without looking it up now... This is not good changelog: none r? `@flip1995`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue was encountered with rustc 0.6 (the version in macports). I apologize if you only want issues opened after they've been confirmed on master. What is the policy wrt this? If such is the case, simply close this issue and I'll try to build master and see if it still exists.
Step to reproduce:
time::strptime(~"360", ~"%Y-%m-%d");
Expected result:
result::Err
Actual result:
rust: task failed at 'index out of bounds: the len is 3 but the index is 3', /opt/local/var/macports/build/_opt_mports_dports_lang_rust/rust/work/rust-0.6/src/libcore/str.rs:1833
rust: domain main @0x7f94a1008c10 root task failed
Thanks to all devs for your great work. Rust looks like a real contender!
The text was updated successfully, but these errors were encountered: