|
As tools/external_updater/updater.sh failed with the error
message: "Error: Unable to find the Rust version.", this
change is made by the following steps:
$ get_rust_pkg.py -add3prf -v -o /tmp quiche-0.14.0
$ rm -rf deps/ examples/ include/ src/
$ cp -R /tmp/quiche-0.14.0/. .
$ rm patches/lib.rs-app-proto.patch
$ patch --no-backup-if-mismatch src/ffi.rs patches/env.diff
$ (manually modify Android.bp.patch to use liboctets)
$ cargo2android.py --config cargo2android.json
$ rm -rf cargo.out target.tmp/
Bug: 233719694
Test: cd external/rust/crates/quiche && atest
Test: cd packages/modules/DnsResolver && atest
Change-Id: Iecfb7054123ffa8fe88d2e0c11ee4ff4407fbcda
|