mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
1772eb0f1a
reading both stdout & stderr is a common gotcha, you need to drain them concurrently to avoid deadlocks. Not sure why I didn't do the right thing from the start. Seems like I assumed the stderr is short? That's not the case when cargo spams `compiling xyz` messages
24 lines
513 B
TOML
24 lines
513 B
TOML
[package]
|
|
name = "stdx"
|
|
version = "0.0.0"
|
|
description = "TBD"
|
|
license = "MIT OR Apache-2.0"
|
|
authors = ["rust-analyzer developers"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
libc = "0.2.93"
|
|
backtrace = { version = "0.3.44", optional = true }
|
|
always-assert = { version = "0.1.2", features = ["log"] }
|
|
# Think twice before adding anything here
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
miow = "0.3.6"
|
|
winapi = "0.3.9"
|
|
|
|
[features]
|
|
# Uncomment to enable for the whole crate graph
|
|
# default = [ "backtrace" ]
|