Skip to content

Support rls --version #41197

@alexcrichton

Description

@alexcrichton
Member

Right now the rls executable we're going to start shipping doesn't support rls --version, but we've got a relatively standard format between rls/cargo that should be supported. Cargo's looks like this and we probably want the RLS logic to look similar.

Activity

added this to the 1.19 milestone on Apr 10, 2017
alexcrichton

alexcrichton commented on Apr 10, 2017

@alexcrichton
MemberAuthor

cc #40584, @nrc, @jonathandturner

(you may wish to open a tracking issue in the rls repo to track this)

modified the milestones: 1.18, 1.19 on Apr 10, 2017
modified the milestones: 1.17, 1.18, 1.19 on May 4, 2017
sophiajt

sophiajt commented on May 14, 2017

@sophiajt
Contributor

The RLS currently has a --version flag. Is this bug tracking it landing in rustup?

sophiajt

sophiajt commented on May 14, 2017

@sophiajt
Contributor

(lol, just noticed the date of the bug...)

alexcrichton

alexcrichton commented on May 15, 2017

@alexcrichton
MemberAuthor

Aha yep! Just ran this:

$ rls +nightly --version
rls 0.1.0 (38ca9b7 2017-05-14)

Looks great to me! The only missing piece I believe is the "-nightly" or "-beta" piece. @jonathandturner do you know the right person to cc about that?

sophiajt

sophiajt commented on May 15, 2017

@sophiajt
Contributor

I'd CC @nrc since he's overseeing RLS and can handle it

nrc

nrc commented on May 16, 2017

@nrc
Member

I added -nightly to the version string. The RLS is always nightly for now since we are not going though beta, etc. at the moment. Is that going to work for Rustbuild?

The RLS currently has a --version flag. Is this bug tracking it landing in rustup?

AIUI Rustbuild should actually use the flag, rather than do whatever placeholder thing it does at the moment.

alexcrichton

alexcrichton commented on May 16, 2017

@alexcrichton
MemberAuthor

Ok thanks @nrc! It sounds like we're going to discuss more of the stability story for the rls soon anyway? May be best to defer some of this to then if so.

removed this from the 1.19 milestone on Jun 1, 2017
added
T-coreRelevant to the core team, which will review and decide on the PR/issue.
on Jun 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-coreRelevant to the core team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @alexcrichton@brson@sophiajt@nrc@Mark-Simulacrum

      Issue actions

        Support `rls --version` · Issue #41197 · rust-lang/rust