rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
To: Lukas Wirth <lukastw97@gmail.com>
Cc: "Sarthak Singh" <sarthak.singh99@gmail.com>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Wedson Almeida Filho" <wedsonaf@gmail.com>,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <benno.lossin@proton.me>,
	"Andreas Hindborg" <a.hindborg@samsung.com>,
	"Alice Ryhl" <aliceryhl@google.com>,
	rust-for-linux@vger.kernel.org,
	"Dirk Behme" <dirk.behme@de.bosch.com>,
	"Lukas Wirth" <lukas.wirth@ferrous-systems.com>
Subject: Re: [PATCH v3] rust: Support latest version of `rust-analyzer`
Date: Mon, 5 Aug 2024 13:46:53 +0200	[thread overview]
Message-ID: <CANiq72mNUu9iQb8YZzo9D+ZtE7BaZMoM7hPk-Akr_CkmTO9-Xg@mail.gmail.com> (raw)
In-Reply-To: <CAJDY-vRjxd1yM4nL_Z3_S_CojqUNVb3V0VBjceV0V5NiB_A45A@mail.gmail.com>

On Mon, Aug 5, 2024 at 1:43 PM Lukas Wirth <lukastw97@gmail.com> wrote:
>
> `sysroot_src` is required now if you want to have the sysroot source libraries be loaded. I think we used to infer it as `{sysroot}/lib/rustlib/src/rust/library` before when only the `sysroot` field was given but that was since changed to make it possible in having a sysroot without the standard library sources (that is only have the binaries available). So if you want the library sources to be loaded by rust-analyzer you will have to set that field as well now.

Thanks a lot Lukas for confirming that.

Cheers,
Miguel

  parent reply	other threads:[~2024-08-05 11:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-24 17:27 [PATCH v3] rust: Support latest version of `rust-analyzer` Sarthak Singh
2024-07-31  8:00 ` Sarthak Singh
2024-08-05 10:40   ` Dirk Behme
2024-08-05 10:45     ` Miguel Ojeda
     [not found] ` <CAH_eo809VXLGVf2vs9gVGr9r_9y0pP+4ku=zoZv05U_ZWbnaHA@mail.gmail.com>
2024-08-05 10:44   ` Miguel Ojeda
2024-08-05 11:45     ` Miguel Ojeda
     [not found]     ` <CAJDY-vRjxd1yM4nL_Z3_S_CojqUNVb3V0VBjceV0V5NiB_A45A@mail.gmail.com>
2024-08-05 11:46       ` Miguel Ojeda [this message]
2024-08-06 23:19 ` Miguel Ojeda
2024-08-27 15:07   ` Conor Dooley
2024-08-27 15:10     ` Miguel Ojeda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANiq72mNUu9iQb8YZzo9D+ZtE7BaZMoM7hPk-Akr_CkmTO9-Xg@mail.gmail.com \
    --to=miguel.ojeda.sandonis@gmail.com \
    --cc=a.hindborg@samsung.com \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=benno.lossin@proton.me \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=dirk.behme@de.bosch.com \
    --cc=gary@garyguo.net \
    --cc=lukas.wirth@ferrous-systems.com \
    --cc=lukastw97@gmail.com \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=sarthak.singh99@gmail.com \
    --cc=wedsonaf@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).