diff options
author | Ivan Lozano <ivanlozano@google.com> | 2020-09-28 11:56:30 -0400 |
---|---|---|
committer | Ivan Lozano <ivanlozano@google.com> | 2020-09-28 12:01:47 -0400 |
commit | 11200870b0cd84e9bbccb89b66cf59b5ed4db526 (patch) | |
tree | 24eee171123051ea4cd5cacfc94eded4c7b63481 /sdk/java_sdk_test.go | |
parent | e0510d7a696b97b2477e82f35df69b5072165060 (diff) |
rust: Add prefer_rlib property for static libstd.
Adds the prefer_rlib property to allow linking libstd statically for
device rust binaries. This also changes the default behavior of rustlibs
to also prefer rlib linkage. This is because dylibs do not provide
rlib-libstd variants and always link in libstd dynamically. Thus a
binary requesting libstd rlib linkage should not attempt to link against
dylibs that link libstd dynamically.
Bug: 168729404
Test: New Soong test passes.
Change-Id: Idf8dfbbce8fd936f55a3fb323b17a1a7f0ee954e
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions