Skip to content

Commit 5833161

Browse files
committed
refactor: fix ci
1 parent 8e363c9 commit 5833161

File tree

6 files changed

+4
-10
lines changed

6 files changed

+4
-10
lines changed

Cargo.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
[profile]
21
[profile.release-debug]
32
debug = true
43
inherits = 'release'
@@ -74,7 +73,6 @@ ordered-float = '4.2.0'
7473
ouroboros = '0.18.4'
7574
papaya = '0.1.4'
7675
parking_lot = '0.12.3'
77-
paste = '1.0.15'
7876
plotters-bitmap = '0.3.6'
7977
proc-macro2 = '1.0.89'
8078
quote = '1.0.37'

crates/bvh-region/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ plotters = {workspace = true, features = [
2020
"image"
2121
], optional = true}
2222
plotters-bitmap = {workspace = true, optional = true}
23-
serde = {workspace = true}
2423
arrayvec = {workspace = true}
2524
fastrand = {workspace = true}
2625
itertools = {workspace = true}

crates/hyperion-proxy/src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,19 @@ pub async fn run_proxy(
7474
) -> anyhow::Result<()> {
7575
let (shutdown_tx, shutdown_rx) = tokio::sync::watch::channel(None);
7676

77+
#[cfg(unix)]
7778
let mut sigterm = tokio::signal::unix::signal(tokio::signal::unix::SignalKind::terminate())
7879
.context("failed to register SIGTERM handler")?;
7980

81+
#[cfg(unix)]
8082
let mut sigquit = tokio::signal::unix::signal(tokio::signal::unix::SignalKind::quit())
8183
.context("failed to register SIGQUIT handler")?;
8284

85+
#[cfg(unix)]
8386
tokio::spawn({
8487
let shutdown_tx = shutdown_tx.clone();
8588
async move {
8689
tokio::select! {
87-
_ = tokio::signal::ctrl_c() => {
88-
warn!("SIGINT/ctrl-c received, shutting down");
89-
shutdown_tx.send(Some(ShutdownType::Full)).unwrap();
90-
}
9190
_ = sigterm.recv() => {
9291
warn!("SIGTERM received, shutting down");
9392
shutdown_tx.send(Some(ShutdownType::Full)).unwrap();

crates/hyperion-rank-tree/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ toml = { workspace = true }
1313
valence_protocol = { workspace = true }
1414
clap = { workspace = true }
1515
flecs_ecs = { workspace = true }
16-
paste = { workspace = true }
1716
hyperion-item.workspace = true
1817

1918
[lints]

crates/hyperion/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ impl Hyperion {
290290
let (task_tx, task_rx) = kanal::bounded(32);
291291
let runtime = AsyncRuntime::new(task_tx);
292292

293+
#[cfg(unix)]
293294
#[allow(clippy::redundant_pub_crate)]
294295
runtime.spawn(async move {
295296
let mut sigterm =

0 commit comments

Comments
 (0)