summaryrefslogtreecommitdiff
path: root/scripts/manifest_check_test.py
diff options
context:
space:
mode:
author ThiƩbaud Weksteen <tweek@google.com> 2021-02-25 16:30:57 +0100
committer ThiƩbaud Weksteen <tweek@google.com> 2021-03-15 08:13:20 +0000
commitee6a89ba440aedbf7f1c89333f5046418e6e3459 (patch)
treecd1cf61bbecbbbf14605233ffcf02b133d322558 /scripts/manifest_check_test.py
parentaa52d66cd572d2cc62573078c02cad062e7ddeb5 (diff)
Export OUT_DIR variable to rust-project.json
This variable is required by rust-analyzer to correctly process crates that uses the include!(concat!(env!("OUT_DIR"), ...)) pattern. Adds an initialize method to baseCompiler to save the computed path for this directory. It is not possible to use the BeginMutator as the BaseModuleContext does not contain enough information to use PathForModuleOut. Bug: 175004835 Test: SOONG_GEN_RUST_PROJECT=1 m nothing; inspect rust-project.json Change-Id: If47b3832d3cca5712ae87773c174a61f5ee27bf8
Diffstat (limited to 'scripts/manifest_check_test.py')
0 files changed, 0 insertions, 0 deletions