| 1 | # we use tokio_unstable to enable runtime::Handle::id so we can separate |
| 2 | # globals from multiple parallel tests. If that function ever does get removed |
| 3 | # its possible to replace (with some additional overhead and effort) |
| 4 | # Annoyingly build.rustflags doesn't work here because it gets overwritten |
| 5 | # if people have their own global target.<..> config (for example to enable mold) |
| 6 | # specifying flags this way is more robust as they get merged |
| 7 | # This still gets overwritten by RUST_FLAGS though, luckily it shouldn't be necessary |
| 8 | # to set those most of the time. If downstream does overwrite this its not a huge |
| 9 | # deal since it will only break tests anyway |
| 10 | [target."cfg(all())"] |
| 11 | rustflags = ["--cfg", "tokio_unstable", "-C", "target-feature=-crt-static"] |
| 12 | |
| 13 | |
| 14 | [alias] |
| 15 | xtask = "run --package xtask --" |
| 16 | integration-test = "test --features integration --profile integration --workspace --test integration" |
| 17 |