From ed8308df385e84ebb88239c7c45b6b2ad57aeaa7 Mon Sep 17 00:00:00 2001 From: mingxguo27 Date: Tue, 22 Sep 2020 18:45:19 +0000 Subject: [PATCH] Reversed changes --- src/ctap/storage.rs | 1 + third_party/lang-items/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ctap/storage.rs b/src/ctap/storage.rs index a4dcaf2..de5eb03 100644 --- a/src/ctap/storage.rs +++ b/src/ctap/storage.rs @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + #[cfg(feature = "with_ctap2_1")] use crate::ctap::data_formats::{extract_array, extract_text_string}; use crate::ctap::data_formats::{CredentialProtectionPolicy, PublicKeyCredentialSource}; diff --git a/third_party/lang-items/Cargo.toml b/third_party/lang-items/Cargo.toml index eb1fa2e..39ffbf0 100644 --- a/third_party/lang-items/Cargo.toml +++ b/third_party/lang-items/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT/Apache-2.0" edition = "2018" [dependencies] -libtock_core = { path = "../../third_party/libtock-rs/core", default-features = false, features = ["custom_panic_handler", "custom_alloc_error_handler"] } +libtock_core = { path = "../../third_party/libtock-rs/core", default-features = false, features = ["alloc_init", "custom_panic_handler", "custom_alloc_error_handler"] } libtock_drivers = { path = "../libtock-drivers" } linked_list_allocator = { version = "0.8.1", default-features = false }