aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-01-07 12:37:15 -0800
committerDavid Tolnay <dtolnay@gmail.com>2023-01-07 12:37:18 -0800
commitfe16a5dea3a3f2995cf41316c88f2c8961f8f3e7 (patch)
tree192fd329ca4b61e73153ba2da5eab7b5fa56c4c3 /src
parent1f3627267ad224f715a4f3801d44f56f801405ff (diff)
downloadcxx-fe16a5dea3a3f2995cf41316c88f2c8961f8f3e7.tar.gz
Raise minimum rustc to 1.60
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 581a9ffb..ccf3cd67 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -18,7 +18,7 @@
//!
//! <br>
//!
-//! *Compiler support: requires rustc 1.48+ and c++11 or newer*<br>
+//! *Compiler support: requires rustc 1.60+ and c++11 or newer*<br>
//! *[Release notes](https://github.com/dtolnay/cxx/releases)*
//!
//! <br>
@@ -365,9 +365,12 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/cxx/1.0.86")]
-#![deny(improper_ctypes, improper_ctypes_definitions, missing_docs)]
-#![cfg_attr(not(no_unsafe_op_in_unsafe_fn_lint), deny(unsafe_op_in_unsafe_fn))]
-#![cfg_attr(no_unsafe_op_in_unsafe_fn_lint, allow(unused_unsafe))]
+#![deny(
+ improper_ctypes,
+ improper_ctypes_definitions,
+ missing_docs,
+ unsafe_op_in_unsafe_fn
+)]
#![cfg_attr(doc_cfg, feature(doc_cfg))]
#![allow(non_camel_case_types)]
#![allow(