Skip to content

Current nightly version has a bug in rust-analyzer, can we switch to 06-29? #261

@niklebedenko

Description

@niklebedenko

rust-analyzer in nightly-2025-06-23 has a bug where macros like println! erroneously have red error squiggles, making the IDE experience a bit unpleasant. Switching to nightly-2025-06-29 resolves this issue, only requiring a single line modification to the Rust-CUDA library:

In crates/rustc_codegen_nvvm/src/builder.rs, lines 1109-1111
before:

    fn filter_landing_pad(&mut self, _pers_fn: &'ll Value) -> (&'ll Value, &'ll Value) {
        todo!()
    }

after:

    fn filter_landing_pad(&mut self, _pers_fn: &'ll Value) -> () {
        todo!()
    }

Related issue in rust-analyzer: rust-lang/rust-analyzer#20051

If you'd like, I could create a fork of Rust-CUDA and make a PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions