Skip to content

feat: support install.rust()#2052

Merged
gaocegege merged 3 commits intotensorchord:mainfrom
kemingy:lang_rust
Nov 5, 2025
Merged

feat: support install.rust()#2052
gaocegege merged 3 commits intotensorchord:mainfrom
kemingy:lang_rust

Conversation

@kemingy
Copy link
Copy Markdown
Member

@kemingy kemingy commented Nov 5, 2025

No description provided.

Signed-off-by: Keming <kemingyang@tensorchord.ai>
Signed-off-by: Keming <kemingyang@tensorchord.ai>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for the Rust programming language to envd, enabling users to install Rust in their development environments using the install.rust() function.

  • Implements Rust language support via rustup installation
  • Adds frontend API and backend IR implementation for Rust installation
  • Includes E2E test coverage to verify Rust installation functionality

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pkg/lang/ir/v1/system.go Adds "rust" case to language compilation logic with version support
pkg/lang/ir/v1/rust.go New file implementing Rust installation via rustup with configurable version
pkg/lang/ir/v1/interface.go Adds Rust() function to the IR interface
pkg/lang/frontend/starlark/v1/install/install.go Adds ruleFuncRust to expose install.rust() to Starlark frontend
pkg/lang/frontend/starlark/v1/install/const.go Adds ruleRust constant
envd/api/v1/install.py Adds Python API documentation for rust() function
e2e/language/testdata/rust/build.envd Test configuration file for Rust E2E test
e2e/language/rust_test.go E2E test to verify Rust installation
go.mod Updates Go version from 1.24.6 to 1.25.1
go.sum Dependency updates (various package version bumps)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/lang/frontend/starlark/v1/install/install.go Outdated
Signed-off-by: Keming <kemingyang@tensorchord.ai>
@gaocegege gaocegege enabled auto-merge November 5, 2025 03:37
@gaocegege gaocegege added this pull request to the merge queue Nov 5, 2025
Merged via the queue into tensorchord:main with commit b44e2ae Nov 5, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants