diff options
author | 2021-12-08 17:54:19 +1100 | |
---|---|---|
committer | 2021-12-08 17:54:19 +1100 | |
commit | 566eb80d3cce84989ddefd6b7f06ee31c02422e9 (patch) | |
tree | c7d55283209794472fd59814a839888cd1bea047 /rust/project_json.go | |
parent | ff4a061e763841e291fcd7e6cd08a5d6ad553505 (diff) |
Support rust_toolchain_library for rust-project
Bug: 209678277
Test: SOONG_GEN_RUST_PROJECT=1 m nothing; check that libstd is included
Change-Id: Ic197e00bc4695aa6dcd46b8c704a82a2e5e90460
Diffstat (limited to 'rust/project_json.go')
-rw-r--r-- | rust/project_json.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/project_json.go b/rust/project_json.go index ae48312b5..fe259d6c2 100644 --- a/rust/project_json.go +++ b/rust/project_json.go @@ -211,6 +211,8 @@ func isModuleSupported(ctx android.SingletonContext, module android.Module) (*Mo comp = c.binaryDecorator.baseCompiler case *procMacroDecorator: comp = c.baseCompiler + case *toolchainLibraryDecorator: + comp = c.baseCompiler default: return nil, nil, false } |