Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gnome-builder
gnome-builder
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 499
    • Issues 499
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 19
    • Merge Requests 19
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gnome-buildergnome-builder
  • Issues
  • #1378

Closed
Open
Opened Jan 03, 2021 by Felix Häcker@haecker-felixDeveloper

Use in Rust SDK Extension included rust-analyzer binary

Currently Builder downloads the rust-analyzer binary manually, and runs it then on host side. This works, but has the disadvantage of not using the dependencies from the Flatpak build environment. If you don't have all needed dependencies installed on the host side, rust-analyzer only works with limited features.

I created a prototype which uses the rust-analyzer which is already included in the Flatpak SDK extension. It works fine, but needs someone with proper C knowledge to integrate it properly into the plugin.

Prototype: haecker-felix/gnome-builder@fbba0ba8

There are following open questions

  • Do we still need the host side rust-analyzer?
  • Which rust-analyzer should getting used, when we have
    • the binary on the host side (eg. downloaded with Builder)
    • the binary inside the rust-stable sdk extension
    • the binary inside the rust-nightly sdk extension

If anyone wants to test it: org.gnome.Builder.flatpak

CC: @gwagner you might be interested in this, since you created the rust-analyzer plugin itself.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gnome-builder#1378