aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2021-02-22 13:06:28 +0100
committerJeff Vander Stoep <jeffv@google.com>2021-02-22 13:07:29 +0100
commit4737f5c18e5cd04b69e607d99ce872254da04fce (patch)
tree7a3cdb504633e78761ebc28f7da3e4267e46e55e
parent582dabe84f21fbf55be0e2abd4ccf2f0bcd6e612 (diff)
downloadclang-sys-4737f5c18e5cd04b69e607d99ce872254da04fce.tar.gz
Update to 1.1.1
Test: atest Change-Id: I5621e9c689d008d8c4cc3b13fc89ad9e498f263f
-rw-r--r--.cargo_vcs_info.json2
-rw-r--r--Android.bp20
-rw-r--r--CHANGELOG.md5
-rw-r--r--Cargo.toml2
-rw-r--r--Cargo.toml.orig4
-rw-r--r--METADATA6
-rw-r--r--TEST_MAPPING4
-rw-r--r--patches/libloading-0.7.diff47
8 files changed, 16 insertions, 74 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json
index a2ce8d7..b4474d7 100644
--- a/.cargo_vcs_info.json
+++ b/.cargo_vcs_info.json
@@ -1,5 +1,5 @@
{
"git": {
- "sha1": "a0bcae1a9d7ab6ed8de010b0f5e2b2020c20d204"
+ "sha1": "fae8e5e15f060bc1fb11c26eac168eaf8a50632b"
}
}
diff --git a/Android.bp b/Android.bp
index 675916a..d3d6269 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,21 +1,5 @@
// This file is generated by cargo2android.py --run --features=runtime,clang_10_0 --dependencies --copy-out.
-
-package {
- default_applicable_licenses: ["external_rust_crates_clang-sys_license"],
-}
-
-// Added automatically by a large-scale-change
-// See: http://go/android-license-faq
-license {
- name: "external_rust_crates_clang-sys_license",
- visibility: [":__subpackages__"],
- license_kinds: [
- "SPDX-license-identifier-Apache-2.0",
- ],
- license_text: [
- "LICENSE.txt",
- ],
-}
+// Do not modify this file as changes will be overridden on upgrade.
genrule {
name: "copy_clang-sys_build_out",
@@ -62,4 +46,4 @@ rust_library_host {
// cfg-if-1.0.0
// glob-0.3.0
// libc-0.2.86
-// libloading-0.6.7
+// libloading-0.7.0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7ed57c5..a4940fa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+## [1.1.1] - 2021-02-19
+
+### Changed
+- Bumped `libloading` version to `0.7`
+
## [1.1.0] - 2021-02-09
### Changed
diff --git a/Cargo.toml b/Cargo.toml
index 4af7f4d..ece1c66 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,7 @@
[package]
name = "clang-sys"
-version = "1.1.0"
+version = "1.1.1"
authors = ["Kyle Mayes <kyle@mayeses.com>"]
build = "build.rs"
links = "clang"
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 0b68df7..f7abf3c 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -3,7 +3,7 @@
name = "clang-sys"
authors = ["Kyle Mayes <kyle@mayeses.com>"]
-version = "1.1.0"
+version = "1.1.1"
readme = "README.md"
license = "Apache-2.0"
@@ -39,7 +39,7 @@ static = []
glob = "0.3"
libc = { version = "0.2.39", default-features = false }
-libloading = { version = "0.6", optional = true }
+libloading = { version = "0.7", optional = true }
[build-dependencies]
diff --git a/METADATA b/METADATA
index 7f71132..1262839 100644
--- a/METADATA
+++ b/METADATA
@@ -7,13 +7,13 @@ third_party {
}
url {
type: ARCHIVE
- value: "https://static.crates.io/crates/clang-sys/clang-sys-1.1.0.crate"
+ value: "https://static.crates.io/crates/clang-sys/clang-sys-1.1.1.crate"
}
- version: "1.1.0"
+ version: "1.1.1"
license_type: NOTICE
last_upgrade_date {
year: 2021
month: 2
- day: 9
+ day: 22
}
}
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 58584f2..7de080a 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -2,10 +2,10 @@
{
"presubmit": [
{
- "name": "keystore2_test"
+ "name": "libsqlite3-sys_device_test_src_lib"
},
{
- "name": "libsqlite3-sys_device_test_src_lib"
+ "name": "keystore2_test"
}
]
}
diff --git a/patches/libloading-0.7.diff b/patches/libloading-0.7.diff
deleted file mode 100644
index 49fdc4c..0000000
--- a/patches/libloading-0.7.diff
+++ /dev/null
@@ -1,47 +0,0 @@
-diff --git a/Cargo.toml b/Cargo.toml
-index 1da2ac4..4af7f4d 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -31,7 +31,7 @@ version = "0.2.39"
- default-features = false
-
- [dependencies.libloading]
--version = "0.6"
-+version = "0.7"
- optional = true
- [build-dependencies.glob]
- version = "0.3"
-diff --git a/src/link.rs b/src/link.rs
-index 3230e4a..64a3528 100644
---- a/src/link.rs
-+++ b/src/link.rs
-@@ -195,17 +195,19 @@ macro_rules! link {
- let (directory, filename) = build::dynamic::find(true)?;
- let path = directory.join(filename);
-
-- let library = libloading::Library::new(&path).map_err(|e| {
-- format!(
-- "the `libclang` shared library at {} could not be opened: {}",
-- path.display(),
-- e,
-- )
-- });
-+ unsafe {
-+ let library = libloading::Library::new(&path).map_err(|e| {
-+ format!(
-+ "the `libclang` shared library at {} could not be opened: {}",
-+ path.display(),
-+ e,
-+ )
-+ });
-
-- let mut library = SharedLibrary::new(library?, path);
-- $(load::$name(&mut library);)+
-- Ok(library)
-+ let mut library = SharedLibrary::new(library?, path);
-+ $(load::$name(&mut library);)+
-+ Ok(library)
-+ }
- }
-
- /// Loads a `libclang` shared library for use in the current thread.