diff options
| author | 2023-04-28 01:36:44 +0800 | |
|---|---|---|
| committer | 2023-04-28 01:36:44 +0800 | |
| commit | dd84b9d64fb98746a230cd24233ff50a562c39c9 (patch) | |
| tree | b583261ef00b3afe72ec4d6dacb31e57779a6faf /.cargo | |
| parent | 0b46fcd72ac34382387b2bcf9095233efbcc52f4 (diff) | |
| download | HydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.tar.gz HydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.zip | |
Diffstat (limited to '.cargo')
| -rw-r--r-- | .cargo/config.toml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..3b9eb41 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,19 @@ +[env] +CARGO_WORKSPACE_DIR = { value = "", relative = true } + +[target.x86_64-pc-windows-msvc] +linker = "rust-lld" + +[alias] +xtask = "run --package xtask --" +tr-build = "build -p turbo" +tr-run = "run -p turbo" +tr-test = "test -p turborepo-* -p turbopath -p vercel-api-mock --features rustls-tls" +tr-check = "check -p turbo -p vercel-api-mock" +# Builds all test code to check for compiler errors before running +tp-pre-test = "nextest run --no-run --workspace --release --exclude turbo --exclude turborepo-* --exclude turbopath --exclude vercel-api-mock" +tp-test = "nextest run --workspace --release --no-fail-fast --exclude turbo --exclude turborepo-* --exclude turbopath --exclude vercel-api-mock" +tp-bench-test = "test --benches --workspace --release --no-fail-fast --exclude turbopack-bench --exclude turbo --exclude turborepo-* --exclude turbopath --exclude vercel-api-mock" + +[target.'cfg(all())'] +rustflags = ["--cfg", "tokio_unstable", "-Csymbol-mangling-version=v0", "-Aclippy::too_many_arguments"] |
