summaryrefslogtreecommitdiffstats
path: root/third_party/rust/nss_sys/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/nss_sys/src/lib.rs')
-rw-r--r--third_party/rust/nss_sys/src/lib.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/rust/nss_sys/src/lib.rs b/third_party/rust/nss_sys/src/lib.rs
new file mode 100644
index 0000000000..261d67bbbc
--- /dev/null
+++ b/third_party/rust/nss_sys/src/lib.rs
@@ -0,0 +1,16 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#![allow(unknown_lints)]
+#![warn(rust_2018_idioms)]
+#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
+
+mod bindings;
+pub use bindings::*;
+
+// So we link against the SQLite lib imported by parent crates
+// such as places and logins.
+#[allow(unused_extern_crates)]
+#[cfg(any(not(feature = "gecko"), __appsvc_ci_hack))]
+extern crate libsqlite3_sys;