aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-06-01 10:13:47 +0000
committerAndrew Walbran <qwandor@google.com>2023-06-01 10:13:47 +0000
commit6bb78b04828ad5e139515de7d47b59adb37d0205 (patch)
treebd66819aa56e48f011ae009ecb4a0ba354d45ffe
parent2970041c341ecaa3e8d9996f422a50a8f5bb76be (diff)
downloadlinkme-main-16k.tar.gz
Upgrade linkme to 0.3.10main-16k
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update rust/crates/linkme For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md Test: TreeHugger Change-Id: I78008dff2e7e63eea9d81806c1be67e1308f9911
-rw-r--r--.cargo_vcs_info.json2
-rw-r--r--Android.bp2
-rw-r--r--Cargo.toml4
-rw-r--r--Cargo.toml.orig4
-rw-r--r--METADATA13
-rw-r--r--src/distributed_slice.rs1
-rw-r--r--src/lib.rs2
-rw-r--r--tests/ui/bad_crate_path.stderr4
8 files changed, 18 insertions, 14 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json
index 58bba9e..1270b50 100644
--- a/.cargo_vcs_info.json
+++ b/.cargo_vcs_info.json
@@ -1,6 +1,6 @@
{
"git": {
- "sha1": "a0c3cdd977aefdf6674754ca8b1dc4aa41a7f0ae"
+ "sha1": "65a95be8ada66b31382af7b669ffb594b5c1e7e0"
},
"path_in_vcs": ""
} \ No newline at end of file
diff --git a/Android.bp b/Android.bp
index 86d24bf..ce589d8 100644
--- a/Android.bp
+++ b/Android.bp
@@ -8,7 +8,7 @@ rust_library {
host_supported: true,
crate_name: "linkme",
cargo_env_compat: true,
- cargo_pkg_version: "0.3.9",
+ cargo_pkg_version: "0.3.10",
srcs: ["src/lib.rs"],
edition: "2021",
proc_macros: ["liblinkme_impl"],
diff --git a/Cargo.toml b/Cargo.toml
index d9cf97f..22b17d4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@
edition = "2021"
rust-version = "1.62"
name = "linkme"
-version = "0.3.9"
+version = "0.3.10"
authors = ["David Tolnay <dtolnay@gmail.com>"]
description = "Safe cross-platform linker shenanigans"
documentation = "https://docs.rs/linkme"
@@ -38,7 +38,7 @@ name = "module_2015"
edition = "2015"
[dependencies.linkme-impl]
-version = "=0.3.9"
+version = "=0.3.10"
[dev-dependencies.once_cell]
version = "1.16"
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 0c21208..082088a 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,6 +1,6 @@
[package]
name = "linkme"
-version = "0.3.9"
+version = "0.3.10"
authors = ["David Tolnay <dtolnay@gmail.com>"]
categories = ["development-tools::build-utils", "development-tools::procedural-macro-helpers", "no-std"]
description = "Safe cross-platform linker shenanigans"
@@ -19,7 +19,7 @@ edition = "2015"
used_linker = ["linkme-impl/used_linker"]
[dependencies]
-linkme-impl = { version = "=0.3.9", path = "impl" }
+linkme-impl = { version = "=0.3.10", path = "impl" }
[dev-dependencies]
once_cell = "1.16"
diff --git a/METADATA b/METADATA
index 06d2359..1371a67 100644
--- a/METADATA
+++ b/METADATA
@@ -1,3 +1,7 @@
+# This project was upgraded with external_updater.
+# Usage: tools/external_updater/updater.sh update rust/crates/linkme
+# For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md
+
name: "linkme"
description: "Safe cross-platform linker shenanigans"
third_party {
@@ -7,14 +11,13 @@ third_party {
}
url {
type: ARCHIVE
- value: "https://static.crates.io/crates/linkme/linkme-0.3.9.crate"
+ value: "https://static.crates.io/crates/linkme/linkme-0.3.10.crate"
}
- version: "0.3.9"
- # Dual-licensed, using the least restrictive per go/thirdpartylicenses#same.
+ version: "0.3.10"
license_type: NOTICE
last_upgrade_date {
year: 2023
- month: 5
- day: 9
+ month: 6
+ day: 1
}
}
diff --git a/src/distributed_slice.rs b/src/distributed_slice.rs
index 707e043..d283e6f 100644
--- a/src/distributed_slice.rs
+++ b/src/distributed_slice.rs
@@ -161,6 +161,7 @@ impl<T> DistributedSlice<[T]> {
target_os = "macos",
target_os = "ios",
target_os = "tvos",
+ target_os = "android",
target_os = "illumos",
target_os = "freebsd"
))]
diff --git a/src/lib.rs b/src/lib.rs
index d460938..1a290b0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -106,7 +106,7 @@
//! ```
#![no_std]
-#![doc(html_root_url = "https://docs.rs/linkme/0.3.9")]
+#![doc(html_root_url = "https://docs.rs/linkme/0.3.10")]
#![allow(
clippy::doc_markdown,
clippy::empty_enum,
diff --git a/tests/ui/bad_crate_path.stderr b/tests/ui/bad_crate_path.stderr
index 5ac1d6a..a4e5cef 100644
--- a/tests/ui/bad_crate_path.stderr
+++ b/tests/ui/bad_crate_path.stderr
@@ -18,7 +18,7 @@ error[E0433]: failed to resolve: could not find `missing` in `to`
|
help: consider importing this struct
|
-3 | use linkme::DistributedSlice;
+3 + use linkme::DistributedSlice;
|
error[E0433]: failed to resolve: could not find `missing` in `to`
@@ -29,5 +29,5 @@ error[E0433]: failed to resolve: could not find `missing` in `to`
|
help: consider importing this struct
|
-3 | use linkme::DistributedSlice;
+3 + use linkme::DistributedSlice;
|