File tree 2 files changed +116
-0
lines changed
compiler/rustc_codegen_cranelift/.zed
2 files changed +116
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "_settings_only_in_vs_code_not_yet_in_zed" : {
3
+ "git.detectSubmodulesLimit" : 20
4
+ },
5
+ "lsp" : {
6
+ "rust-analyzer" : {
7
+ "initialization_options" : {
8
+ "check" : {
9
+ "invocationLocation" : " root" ,
10
+ "invocationStrategy" : " once" ,
11
+ "overrideCommand" : [" python3" , " x.py" , " check" , " --json-output" ]
12
+ },
13
+ "linkedProjects" : [
14
+ " Cargo.toml" ,
15
+ " src/tools/x/Cargo.toml" ,
16
+ " src/bootstrap/Cargo.toml" ,
17
+ " src/tools/rust-analyzer/Cargo.toml" ,
18
+ " compiler/rustc_codegen_cranelift/Cargo.toml" ,
19
+ " compiler/rustc_codegen_gcc/Cargo.toml"
20
+ ],
21
+ "rustfmt" : {
22
+ "overrideCommand" : [
23
+ " ${workspaceFolder}/build/host/rustfmt/bin/rustfmt" ,
24
+ " --edition=2021"
25
+ ]
26
+ },
27
+ "procMacro" : {
28
+ "server" : " ${workspaceFolder}/build/host/stage0/libexec/rust-analyzer-proc-macro-srv" ,
29
+ "enable" : true
30
+ },
31
+ "cargo" : {
32
+ "buildScripts" : {
33
+ "enable" : true ,
34
+ "invocationLocation" : " root" ,
35
+ "invocationStrategy" : " once" ,
36
+ "overrideCommand" : [" python3" , " x.py" , " check" , " --json-output" ]
37
+ },
38
+ "sysrootSrc" : " ./library" ,
39
+ "extraEnv" : {
40
+ "RUSTC_BOOTSTRAP" : " 1"
41
+ }
42
+ },
43
+ "rustc" : {
44
+ "source" : " ./Cargo.toml"
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "format_on_save" : " on" ,
3
+ "lsp" : {
4
+ "rust-analyzer" : {
5
+ "initialization_options" : {
6
+ "diagnostics" : {
7
+ "disabled" : [" unresolved-extern-crate" , " unresolved-macro-call" ]
8
+ },
9
+ "rustc" : {
10
+ "source" : " discover"
11
+ },
12
+ "imports" : {
13
+ "granularity" : {
14
+ "enforce" : true ,
15
+ "group" : " module"
16
+ },
17
+ "prefix" : " crate"
18
+ },
19
+ "cargo" : {
20
+ "features" : [" unstable-features" ]
21
+ },
22
+ "linkedProjects" : [
23
+ " ./Cargo.toml" ,
24
+ " ./build_system/Cargo.toml" ,
25
+ {
26
+ "crates" : [
27
+ {
28
+ "root_module" : " ./example/mini_core.rs" ,
29
+ "edition" : " 2018" ,
30
+ "deps" : [],
31
+ "cfg" : []
32
+ },
33
+ {
34
+ "root_module" : " ./example/mini_core_hello_world.rs" ,
35
+ "edition" : " 2018" ,
36
+ "deps" : [
37
+ {
38
+ "crate" : 0 ,
39
+ "name" : " mini_core"
40
+ }
41
+ ],
42
+ "cfg" : []
43
+ },
44
+ {
45
+ "root_module" : " ./example/mod_bench.rs" ,
46
+ "edition" : " 2018" ,
47
+ "deps" : [],
48
+ "cfg" : []
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "sysroot_src" : " ./build/stdlib/library" ,
54
+ "crates" : [
55
+ {
56
+ "root_module" : " ./example/std_example.rs" ,
57
+ "edition" : " 2015" ,
58
+ "deps" : [],
59
+ "cfg" : []
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ }
65
+ }
66
+ }
67
+ }
You can’t perform that action at this time.
0 commit comments