Stream: t-compiler/wg-rls-2.0

Topic: installing and build.rs


nikomatsakis (Mar 29 2019 at 13:39, on Zulip):

So @matklad I am now getting this

rust-analyzer failed to load workspace: cargo metadata failed: error during execution of cargo metadata: error: failed to parse manifest at c:\Users\niko\code\game-dev\ferris-lives\Cargo.toml Caused by: failed to parse the version requirement build.rs for dependency build Caused by: the given version requirement is invalid

nikomatsakis (Mar 29 2019 at 13:39, on Zulip):

I'll see if maybe I did something wrong

nikomatsakis (Mar 29 2019 at 13:39, on Zulip):

probably

matklad (Mar 29 2019 at 13:40, on Zulip):

Could you paste Cargo.toml here? It looks like a bug in cargo_metadata crate

nikomatsakis (Mar 29 2019 at 13:40, on Zulip):

oh lol

matklad (Mar 29 2019 at 13:41, on Zulip):

or, as a sanity check, does cargo build work?

nikomatsakis (Mar 29 2019 at 13:41, on Zulip):

I'm just an idiot

nikomatsakis (Mar 29 2019 at 13:41, on Zulip):
[dependencies]
build = "build.rs"
nikomatsakis (Mar 29 2019 at 13:41, on Zulip):

build.rs is not, indeed, a valid semver

nikomatsakis (Mar 29 2019 at 13:44, on Zulip):

cool, seems to be working now

nikomatsakis (Mar 29 2019 at 13:44, on Zulip):

at least I get parse errors at the expected times :)

matklad (Mar 29 2019 at 13:44, on Zulip):

cool!

matklad (Mar 29 2019 at 13:45, on Zulip):

I recommend taking a quick look at https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/features.md to learn what is possible

nikomatsakis (Mar 29 2019 at 13:46, on Zulip):

ah, thanks

nikomatsakis (Mar 29 2019 at 13:46, on Zulip):

I was just going to ask "where can I go RTFM"

matklad (Mar 29 2019 at 13:47, on Zulip):

you are a model user :)

nikomatsakis (Mar 29 2019 at 13:47, on Zulip):

man, lots of stuff. Now I have to learn how to configure keybindings in VSCode I guess

lqd (Mar 29 2019 at 13:49, on Zulip):

/me whispers "Ferris Lives" :joy:

Last update: Nov 12 2019 at 15:30UTC