Instead of manually constructing the venv we now ask the python toolchain for the relevant information, unifying the approach of vent inspection Fixes https://github.com/zed-industries/zed/issues/27350 Release Notes: - Improved the detection of python virtual environments for terminals and tasks in remote projects.
11 lines
394 B
Rust
11 lines
394 B
Rust
fn main() {
|
|
println!("cargo:rerun-if-changed=proto");
|
|
let mut build = prost_build::Config::new();
|
|
build
|
|
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
|
|
.type_attribute("ProjectPath", "#[derive(Hash, Eq)]")
|
|
.type_attribute("Anchor", "#[derive(Hash, Eq)]")
|
|
.compile_protos(&["proto/zed.proto"], &["proto"])
|
|
.unwrap();
|
|
}
|