You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jump to definition in some places are not working if rust-analyzer was installed with lower version of node in m1 mac.
Example:
#[derive(Debug, StructOpt)]
#[structopt(global_settings = &[AppSettings::ColoredHelp])]
pub struct Args {
#[structopt(short="j", long="json")]
pub json: bool,
}
fn main() {
// Jump to definition from this 'from_args' is not working, cause 'definition not found'.
let mut args = Args::from_args();
}
This code causes issue, because process.arch returns x64 with node 15.5.0 or lower, so installed rust-analyzer is x86_64-apple-darwin.
I think this issue should be documented or fixed.
I'd like to send a PR, but I can't think of a smart solution, so please at least document the issue and required node version for m1.
The text was updated successfully, but these errors were encountered:
Jump to definition in some places are not working if rust-analyzer was installed with lower version of node in m1 mac.
Example:
This code causes issue, because
process.arch
returnsx64
with node 15.5.0 or lower, so installed rust-analyzer is x86_64-apple-darwin.I think this issue should be documented or fixed.
I'd like to send a PR, but I can't think of a smart solution, so please at least document the issue and required node version for m1.
The text was updated successfully, but these errors were encountered: