From 9dcaf6bfdff89b4b29611725ef44161be4e429dd Mon Sep 17 00:00:00 2001 From: Rain Jiang <96632942+rainj-me@users.noreply.github.com> Date: Fri, 31 Jul 2026 12:36:25 -0700 Subject: [PATCH] rust server build release artifacts (#33096) Co-authored-by: Alex Nails --- rust/sglang-grpc/Cargo.toml | 2 ++ rust/sglang-server/Cargo.toml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/rust/sglang-grpc/Cargo.toml b/rust/sglang-grpc/Cargo.toml index 9a223d072..37decfb4a 100644 --- a/rust/sglang-grpc/Cargo.toml +++ b/rust/sglang-grpc/Cargo.toml @@ -9,6 +9,8 @@ license.workspace = true # of the main sglang wheel at the given import path. [package.metadata.sglang] python-module = "sglang.srt.grpc._core" +# Always build optimized, even for an editable install. +debug = false [lib] # Unique per-crate artifact name (the shared workspace target/ dir cannot hold diff --git a/rust/sglang-server/Cargo.toml b/rust/sglang-server/Cargo.toml index bb022754a..9cca80a60 100644 --- a/rust/sglang-server/Cargo.toml +++ b/rust/sglang-server/Cargo.toml @@ -8,6 +8,8 @@ license.workspace = true # Consumed by python/setup.py: registers this crate as a PyO3 extension module. [package.metadata.sglang] python-module = "sglang.srt.server._core" +# Always build optimized, even for an editable install. +debug = false [lib] name = "sglang_server"