summaryrefslogtreecommitdiff
path: root/etc/defaults/rust/TARGETS
blob: fbd1a69e9fe47c190d8cf9b2813221799074ed3b (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
{ "defaults":
  { "type": "configure"
  , "target": "defaults (unconfigured)"
  , "arguments_config": ["TOOLCHAIN_CONFIG"]
  , "config":
    { "type": "let*"
    , "bindings":
      [ [ "toolchain"
        , { "type": "lookup"
          , "map":
            { "type": "var"
            , "name": "TOOLCHAIN_CONFIG"
            , "default": {"type": "empty_map"}
            }
          , "key": "RUST"
          , "default": {"type": "empty_map"}
          }
        ]
      , [ "RUSTC"
        , { "type": "lookup"
          , "map": {"type": "var", "name": "toolchain"}
          , "key": "RUSTC"
          , "default": "rustc"
          }
        ]
      , [ "PATH"
        , { "type": "lookup"
          , "map": {"type": "var", "name": "toolchain"}
          , "key": "PATH"
          , "default": []
          }
        ]
      ]
    , "body": {"type": "env", "vars": ["RUSTC", "PATH"]}
    }
  }
, "defaults (unconfigured)":
  { "type": "defaults"
  , "arguments_config": ["RUSTC", "PATH"]
  , "RUSTC": [{"type": "var", "name": "RUSTC"}]
  , "PATH": {"type": "var", "name": "PATH"}
  }
}