]> git.lizzy.rs Git - rust.git/blob - src/Cargo.toml
update mdbook to 0.1.2
[rust.git] / src / Cargo.toml
1 [workspace]
2 members = [
3   "bootstrap",
4   "rustc",
5   "libstd",
6   "libtest",
7   "librustc_trans",
8   "tools/cargotest",
9   "tools/clippy",
10   "tools/compiletest",
11   "tools/error_index_generator",
12   "tools/linkchecker",
13   "tools/rustbook",
14   "tools/unstable-book-gen",
15   "tools/tidy",
16   "tools/build-manifest",
17   "tools/remote-test-client",
18   "tools/remote-test-server",
19   "tools/rust-installer",
20   "tools/cargo",
21   "tools/rustdoc",
22   "tools/rls",
23   "tools/rustfmt",
24   "tools/miri",
25   # FIXME(https://github.com/rust-lang/cargo/issues/4089): move these to exclude
26   "tools/rls/test_data/bin_lib",
27   "tools/rls/test_data/borrow_error",
28   "tools/rls/test_data/common",
29   "tools/rls/test_data/deglob",
30   "tools/rls/test_data/features",
31   "tools/rls/test_data/find_all_refs_no_cfg_test",
32   "tools/rls/test_data/find_impls",
33   "tools/rls/test_data/infer_bin",
34   "tools/rls/test_data/infer_custom_bin",
35   "tools/rls/test_data/infer_lib",
36   "tools/rls/test_data/multiple_bins",
37   "tools/rls/test_data/reformat",
38   "tools/rls/test_data/reformat_with_range",
39   "tools/rls/test_data/workspace_symbol",
40 ]
41
42 # Curiously, compiletest will segfault if compiled with opt-level=3 on 64-bit
43 # MSVC when running the compile-fail test suite when a should-fail test panics.
44 # But hey if this is removed and it gets past the bots, sounds good to me.
45 [profile.release]
46 opt-level = 2
47 [profile.bench]
48 opt-level = 2
49
50 # These options are controlled from our rustc wrapper script, so turn them off
51 # here and have them controlled elsewhere.
52 [profile.dev]
53 debug = false
54 debug-assertions = false
55 [profile.test]
56 debug = false
57 debug-assertions = false
58
59 # We want the RLS to use the version of Cargo that we've got vendored in this
60 # repository to ensure that the same exact version of Cargo is used by both the
61 # RLS and the Cargo binary itself. The RLS depends on Cargo as a git repository
62 # so we use a `[patch]` here to override the github repository with our local
63 # vendored copy.
64 [patch."https://github.com/rust-lang/cargo"]
65 cargo = { path = "tools/cargo" }
66
67 [patch.crates-io]
68 # Similar to Cargo above we want the RLS to use a vendored version of `rustfmt`
69 # that we're shipping as well (to ensure that the rustfmt in RLS and the
70 # `rustfmt` executable are the same exact vesion). Unlike Cargo, however, the
71 # RLS depends on `rustfmt` from crates.io, so we put this in a `[patch]` section
72 # for crates.io
73 rustfmt-nightly = { path = "tools/rustfmt" }