forked from thepowersgang/mrustc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrustc-1.39.0-overrides.toml
44 lines (40 loc) · 1.49 KB
/
rustc-1.39.0-overrides.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# minicargo overrides file
#
# rustc's libsyntax needs rustc's libproc_macro (not mrustc's)
[add.'src/libsyntax'.dependencies]
proc_macro = { path = "../libproc_macro" }
[add.'src/libsyntax_ext'.dependencies]
proc_macro = { path = "../libproc_macro" }
[add.'src/librustc_metadata'.dependencies]
proc_macro = { path = "../libproc_macro" }
[delete]
# Allow rustc's libproc_macro to build by removing the std dependency (it's built during rustc build, not during std build)
'src/libproc_macro' = [
"dependencies.std",
]
# mrustc has already built a proc_macro, remove it from libtest's deps
'src/libtest' = [
"dependencies.proc_macro",
]
# Add librustc_codegen_llvm as a dep to the main binary
[add.'src/rustc'.dependencies]
rustc_codegen_llvm = { path = "../librustc_codegen_llvm" }
# And explicit dependencies for librustc_codegen_llvm's implicit deps
[add.'src/librustc_codegen_llvm'.dependencies]
rustc-demangle = "0.1"
flate2 = "1.0"
bitflags = "1.1"
libc = "0.2"
rustc = { path = "../librustc" }
rustc_target = { path = "../librustc_target" }
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_incremental = { path = "../librustc_incremental" }
rustc_codegen_utils = { path = "../librustc_codegen_utils" }
rustc_codegen_ssa = { path = "../librustc_codegen_ssa" }
rustc_fs_util = { path = "../librustc_fs_util" }
rustc_driver = { path = "../librustc_driver" }
log = "0.4"
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
rustc_errors = { path = "../librustc_errors" }