diff options
author | Victor Hsieh <victorhsieh@google.com> | 2020-12-15 13:56:41 -0800 |
---|---|---|
committer | Victor Hsieh <victorhsieh@google.com> | 2020-12-16 09:01:35 -0800 |
commit | f32bc367f4577290dbf12b4c298ded4c930a86a7 (patch) | |
tree | 0f71108f0df4dec57714cdde613b9bf02ef490bf /METADATA | |
parent | 3037f986244f7a025bc269c67f1053a808b72e30 (diff) | |
download | memoffset-f32bc367f4577290dbf12b4c298ded4c930a86a7.tar.gz |
Import memoffset from crates.io
This is generated with get_rust_pkg.py, plus
- src/lib.rs, src/span_of.rs
- patches/std.diff
* Since Android does not support building with no-std, disable no-std
and replace `core` with `std`.
- Android.bp
- patches/Android.bp.patch
* remove doc-comment just to avoid one dependnecy. Can be added later.
- TEST_MAPPING
Bug: 174797066
Test: mma
Test: tools/external_updater/updater.sh update --refresh --keep_date
rust/crates/memoffset
Change-Id: I836d46eb71f1f0b1449318076e0eb266adbfe4c9
Diffstat (limited to 'METADATA')
-rw-r--r-- | METADATA | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/METADATA b/METADATA new file mode 100644 index 0000000..c803657 --- /dev/null +++ b/METADATA @@ -0,0 +1,19 @@ +name: "memoffset" +description: "offset_of functionality for Rust structs." +third_party { + url { + type: HOMEPAGE + value: "https://crates.io/crates/memoffset" + } + url { + type: ARCHIVE + value: "https://static.crates.io/crates/memoffset/memoffset-0.6.1.crate" + } + version: "0.6.1" + license_type: NOTICE + last_upgrade_date { + year: 2020 + month: 12 + day: 15 + } +} |