-
-
Notifications
You must be signed in to change notification settings - Fork 18
Can't compile on rustc 1.74.1 #127
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
Comments
I'll fix this today.
I've never specified (or worries about much) minimum rust version...but
doing to is good I think...
I'll probably need to test it in the matrix too.
1.74 stable,.right?
…On Wed, Mar 13, 2024, 12:40 AM Devyn Cairns ***@***.***> wrote:
Hi,
The latest version uses std::ptr::from_mut (it looks like to fix a clippy
warning), but that was only just stabilized in 1.76.0.
Nushell <https://github.com/nushell/nushell> is building on 1.74 at the
moment, and can't build anymore with the latest version. This is a breaking
change to minimum Rust version.
See: nushell/nushell#12182 (comment)
<nushell/nushell#12182 (comment)>
Would you please replace with something that works on 1.74, or bump major
and clarify minimum rust version in Cargo.toml?
Thanks.
—
Reply to this email directly, view it on GitHub
<#127>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKF4LEWE726CUQ7WKXEM5DYX6G63AVCNFSM6AAAAABETEVKM6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DEOBVGQ2TCNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Yes. Thanks! |
I'm not seeing the failure in CI on 1.74.1 or locally (on macos using act). Any ideas? |
These are the errors it's giving in nushell. I think
|
Can you give some more details about where those errors are from, OS versions, rustc versions etc - as I'd like to reproduce the problem in CI before putting in place fixes for it, and controls to avoid a re-occurrance? When I try with stable 1.74.1 on macos and linux, I do not see those failures. thanks |
Sure. They're from me building nushell with
|
OK, reproduced locally - now I need to "fix" (i.e. break) CI.... |
There was a bug in my GH Action that hid this. I will now push a fix and release later tonight. |
Fixed and a new minor version pushed to crates.io. I'll do the github release later tonight. |
Thanks so much for your help and responsiveness @andrewdavidmackenzie !!! |
Seconded. Thank you! |
Hi,
The latest version uses
std::ptr::from_mut
(it looks like to fix a clippy warning), but that was only just stabilized in 1.76.0.Nushell is building on 1.74 at the moment, and can't build anymore with the latest version. This is a breaking change to minimum Rust version.
See: nushell/nushell#12182 (comment)
Would you please replace with something that works on 1.74, or bump major and clarify minimum rust version in Cargo.toml?
Thanks.
The text was updated successfully, but these errors were encountered: