aboutsummaryrefslogtreecommitdiff
path: root/rust/binary.go
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge changes from topic "rust-sysroot"Jeffrey Vander Stoep2019-11-141-7/+0
|\ | | | | | | | | | | * changes: Enable x86_64 device support Build Rust Device Sysroots in Soong
| * Build Rust Device Sysroots in SoongMatthew Maurer2019-11-131-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | In order to ensure we are using current platform Bionic for any platform Rust binaries, we need to build the sysroot in Soong. This will also enable us too hook the "test" crate if necessary. While both a dynamic and static sysroot are available, on device only a dynamic sysroot will be injected. On host, we continue using the sysroot used to build the compiler as before. Bug: 139486496 Change-Id: I127377e5b056610ceb5015a34d266250320fbc31
* | Soong Rust source clean up.Ivan Lozano2019-11-051-2/+4
|/ | | | | | | | | Break up some of the longer lines in the Rust source and refactor the TransformSrcto* functions to take fewer arguments. Bug: N/A Test: m -j crosvm.experimental Change-Id: Ia0deb8bfe3e1bfd07ef35633e9a7e6f5e799b3a3
* Add AArch64 device Rust toolchain.Ivan Lozano2019-09-241-0/+15
| | | | | | Bug: 141207434 Test: build example rust device module. Change-Id: I0932a614942bf4a4d4b6c153fcc4fc79c7f202bd
* Add Rust support to Soong.Ivan Lozano2019-08-281-0/+110
Adds support to Soong for building rust modules. This currently only supports x86_64 device and x86 linux host targets. The functionality is sufficient to build crosvm. Bug: 136189233 Test: Test module builds. Test: crosvm builds. Change-Id: I6ea04615834a6d673578ab10ea1a2eb04259fe09