We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a2a24b + ba75577 commit 0ca5531Copy full SHA for 0ca5531
13 files changed
.cargo/config.toml
@@ -0,0 +1,8 @@
1
+[build]
2
+# NOTE: We intentionally enable Tokio's internal `tokio_allow_from_blocking_fd` cfg here.
3
+# This disables a debug assertion that normally rejects blocking file descriptors (FDs)
4
+# passed into Tokio. Our environment may hand pre-existing blocking std FDs to Tokio,
5
+# and we rely on this escape hatch to interoperate with that code without panicking.
6
+# If possible, prefer updating the socket/FD setup code to set non-blocking mode
7
+# instead of relying on this cfg.
8
+rustflags = ["--cfg", "tokio_allow_from_blocking_fd"]
0 commit comments