diff options
-rw-r--r-- | .cargo_vcs_info.json | 2 | ||||
-rw-r--r-- | Android.bp | 2 | ||||
-rw-r--r-- | Cargo.toml | 4 | ||||
-rw-r--r-- | Cargo.toml.orig | 4 | ||||
-rw-r--r-- | METADATA | 13 | ||||
-rw-r--r-- | src/distributed_slice.rs | 1 | ||||
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | tests/ui/bad_crate_path.stderr | 4 |
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 @@ -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"], @@ -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" @@ -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" ))] @@ -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; | |