]> git.lizzy.rs Git - rust.git/blob - src/Cargo.toml
Document size_of for 128-bit integers
[rust.git] / src / Cargo.toml
1 [workspace]
2 members = [
3   "bootstrap",
4   "rustc",
5   "libstd",
6   "libtest",
7   "librustc_codegen_llvm",
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   "tools/rustdoc-themes",
26   # FIXME(https://github.com/rust-lang/cargo/issues/4089): move these to exclude
27   "tools/rls/test_data/bin_lib",
28   "tools/rls/test_data/borrow_error",
29   "tools/rls/test_data/common",
30   "tools/rls/test_data/deglob",
31   "tools/rls/test_data/features",
32   "tools/rls/test_data/find_all_refs_no_cfg_test",
33   "tools/rls/test_data/find_impls",
34   "tools/rls/test_data/infer_bin",
35   "tools/rls/test_data/infer_custom_bin",
36   "tools/rls/test_data/infer_lib",
37   "tools/rls/test_data/multiple_bins",
38   "tools/rls/test_data/reformat",
39   "tools/rls/test_data/reformat_with_range",
40   "tools/rls/test_data/workspace_symbol",
41 ]
42
43 # Curiously, libtest will segfault if compiled with opt-level=3
44 # with some versions of XCode: https://github.com/rust-lang/rust/issues/50867
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" }