Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
6337d905
Unverified
Commit
6337d905
authored
Aug 13, 2025
by
Simo Lin
Committed by
GitHub
Aug 13, 2025
Browse files
[router] optimize Rust compilation and development workflow (#9133)
parent
71fb8c95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
sgl-router/.cargo/config.toml
sgl-router/.cargo/config.toml
+2
-2
sgl-router/Cargo.toml
sgl-router/Cargo.toml
+15
-0
No files found.
sgl-router/.cargo/config.toml
View file @
6337d905
[build]
[build]
rustflags
=
[
rustflags
=
[
]
]
incremental
=
true
[target.aarch64-apple-darwin]
[target.aarch64-apple-darwin]
rustflags
=
[
rustflags
=
[
...
...
sgl-router/Cargo.toml
View file @
6337d905
...
@@ -58,3 +58,18 @@ path = "benches/request_processing.rs"
...
@@ -58,3 +58,18 @@ path = "benches/request_processing.rs"
[profile.release]
[profile.release]
lto
=
"thin"
lto
=
"thin"
codegen-units
=
1
codegen-units
=
1
[profile.dev]
opt-level
=
0
debug
=
true
split-debuginfo
=
"unpacked"
incremental
=
true
[profile.dev.build-override]
opt-level
=
3
codegen-units
=
1
[profile.dev-opt]
inherits
=
"dev"
opt-level
=
1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment