Stream: general

Topic: Define a default target

FuriouZz (Apr 25 2020 at 14:41, on Zulip):

Hello everyone! QUESTION. Is there a way to tell rust-analyzer the default target I want to use ? By default, it use x86_64-apple-darwin but I want to target wasm32-unknown-unknown.

Amanieu (Apr 25 2020 at 14:57, on Zulip):

cc @matklad

matklad (Apr 25 2020 at 15:50, on Zulip):

Not at the moment, the relevant commands are hard-coded:

FuriouZz (Apr 25 2020 at 17:11, on Zulip):

Well. Why not, I can see that.

FuriouZz (Apr 25 2020 at 23:27, on Zulip):

Well...very complicated to setup a testing environment =/. Breakpoint does not work...

FuriouZz (Apr 26 2020 at 00:15, on Zulip):

Is there some change expected for the get_rustc_cfg_options ?

simlay (Apr 26 2020 at 21:51, on Zulip):

I submitted with relevant words and links

FuriouZz (Apr 26 2020 at 22:08, on Zulip):

Thanks @simlay I was not really sure to create an issue for that haha. I started a PR (not sent yet), but still locked by the purpore of the get_rustc_cfg_options() call. I can make a draft PR.

FuriouZz (Apr 26 2020 at 22:16, on Zulip):

My draft PR

FuriouZz (Apr 29 2020 at 20:48, on Zulip):

Any help?

Last update: May 29 2020 at 17:25UTC