]> git.lizzy.rs Git - rust.git/blob - src/Cargo.toml
Rollup merge of #44562 - eddyb:ugh-rustdoc, r=nikomatsakis
[rust.git] / src / Cargo.toml
1 [workspace]
2 members = [
3   "bootstrap",
4   "rustc",
5   "libstd",
6   "libtest",
7   "tools/cargotest",
8   "tools/compiletest",
9   "tools/error_index_generator",
10   "tools/linkchecker",
11   "tools/rustbook",
12   "tools/unstable-book-gen",
13   "tools/tidy",
14   "tools/build-manifest",
15   "tools/remote-test-client",
16   "tools/remote-test-server",
17   "tools/rust-installer",
18   "tools/cargo",
19   "tools/rustdoc",
20   "tools/rls",
21   "tools/rustfmt",
22   # FIXME(https://github.com/rust-lang/cargo/issues/4089): move these to exclude
23   "tools/rls/test_data/borrow_error",
24   "tools/rls/test_data/completion",
25   "tools/rls/test_data/find_all_refs",
26   "tools/rls/test_data/find_all_refs_no_cfg_test",
27   "tools/rls/test_data/goto_def",
28   "tools/rls/test_data/highlight",
29   "tools/rls/test_data/hover",
30   "tools/rls/test_data/rename",
31   "tools/rls/test_data/reformat",
32   "tools/rls/test_data/bin_lib_no_cfg_test",
33   "tools/rls/test_data/multiple_bins",
34   "tools/rls/test_data/bin_lib",
35   "tools/rls/test_data/reformat_with_range",
36   "tools/rls/test_data/find_impls",
37   "tools/rls/test_data/infer_bin",
38   "tools/rls/test_data/infer_custom_bin",
39   "tools/rls/test_data/infer_lib",
40   "tools/rls/test_data/omit_init_build",
41 ]
42
43 # Curiously, compiletest will segfault if compiled with opt-level=3 on 64-bit
44 # MSVC when running the compile-fail test suite when a should-fail test panics.
45 # But hey if this is removed and it gets past the bots, sounds good to me.
46 [profile.release]
47 opt-level = 2
48 [profile.bench]
49 opt-level = 2
50
51 # These options are controlled from our rustc wrapper script, so turn them off
52 # here and have them controlled elsewhere.
53 [profile.dev]
54 debug = false
55 debug-assertions = false
56 [profile.test]
57 debug = false
58 debug-assertions = false
59
60 [patch."https://github.com/rust-lang/cargo"]
61 cargo = { path = "tools/cargo" }
62
63 # Override rustfmt dependencies both on the repo and the crate (the RLS
64 # sometimes uses either).
65 # FIXME should only need the crates.io patch, long term.
66 [patch.'https://github.com/rust-lang-nursery/rustfmt']
67 rustfmt-nightly = { path = "tools/rustfmt" }
68 [patch.crates-io]
69 rustfmt-nightly = { path = "tools/rustfmt" }