about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/.zed/settings.json
blob: 4338a3473311b7c38a69c455eff6136f5945937e (plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  "format_on_save": "on",
  "lsp": {
    "rust-analyzer": {
      "initialization_options": {
        "diagnostics": {
          // in case rustc.source is disabled for performance reasons; disable the errors about this
          "disabled": [
            "unresolved-extern-crate",
            "unresolved-macro-call"
          ]
        },
        "rustc": {
          "source": "discover"
        },
        "imports": {
          "granularity": {
            "enforce": true,
            "group": "module"
          },
          "prefix": "crate"
        },
        "cargo": {
          "features": [
            "unstable-features"
          ]
        },
        "linkedProjects": [
          "./Cargo.toml",
          "./build_system/Cargo.toml",
          {
            "sysroot_src": "./build/stdlib/library",
            "crates": [
              {
                "root_module": "./example/mini_core.rs",
                "edition": "2015",
                "deps": [],
                "cfg": []
              },
              {
                "root_module": "./example/mini_core_hello_world.rs",
                "edition": "2015",
                "deps": [
                  {
                    "crate": 0,
                    "name": "mini_core"
                  }
                ],
                "cfg": []
              },
              {
                "root_module": "./example/std_example.rs",
                "edition": "2015",
                "deps": [],
                "cfg": []
              }
            ]
          }
        ]
      }
    }
  }
}