Skip to content

Rust 2024 apparently?#461

Open
Metekillot wants to merge 3 commits into
SpaceManiac:masterfrom
Metekillot:rust-2024
Open

Rust 2024 apparently?#461
Metekillot wants to merge 3 commits into
SpaceManiac:masterfrom
Metekillot:rust-2024

Conversation

@Metekillot
Copy link
Copy Markdown
Contributor

At this time I'm honestly kind of in an uneasy daze because this was much more straightforward than I anticipated. I assume I'm missing some important build step and I'm actually building in 2021 still.

In any case, I just changed all the Cargo.toml files to use the 2024 edition then made the changes the compiler told me to until it compiled. All the tests are passing as well.

@SpaceManiac
Copy link
Copy Markdown
Owner

Directionally correct, but:

  • Motivation?
  • Odd whitespace
  • Still a compile error somewhere

@Metekillot
Copy link
Copy Markdown
Contributor Author

Metekillot commented May 22, 2026

Directionally correct, but:

  • Motivation?

I'm making a heavily modified fork as a submodule for interoperability with an LSP CLI tool I'm making, and I'm using Rust 2024 on it; I wanted to minimize friction for anything I'd PR upstream or pull from it when it's aligned with base SDMM functionality.

Rust 2024 seems like it does some things differently with syntax and unsafe blocks and, I think other things too for some standard library stuff; I don't know enough about Rust to speak authoritatively.

  • Odd whitespace

I can fix that.

  • Still a compile error somewhere

I will look into this; I'm compiling on Linux but I believe I was running into some issues with MSVC over the gnu compiler for windows cross compiling

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