summaryrefslogtreecommitdiffstats
path: root/build/rust/windows/src
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /build/rust/windows/src
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/rust/windows/src')
-rw-r--r--build/rust/windows/src/lib.rs24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/rust/windows/src/lib.rs b/build/rust/windows/src/lib.rs
new file mode 100644
index 0000000000..9c5c49d089
--- /dev/null
+++ b/build/rust/windows/src/lib.rs
@@ -0,0 +1,24 @@
+#![allow(warnings)]
+#![cfg_attr(docsrs, doc = "This is a stub. The latest API documentation is here: <https://microsoft.github.io/windows-docs-rs/>")]
+#![cfg_attr(docsrs, doc = "")]
+/*!
+Learn more about Rust for Windows here: <https://github.com/microsoft/windows-rs>
+*/
+
+#![doc(html_no_source)]
+#![allow(non_snake_case, clashing_extern_declarations, non_upper_case_globals, non_camel_case_types, clippy::all)]
+#![cfg_attr(not(feature = "docs"), doc(hidden))]
+
+extern crate self as windows;
+
+pub mod core {
+ pub use windows_core::*;
+
+ #[cfg(feature = "implement")]
+ pub use windows_implement::implement;
+
+ #[cfg(feature = "implement")]
+ pub use windows_interface::interface;
+}
+
+include!(mozbuild::windows_rs_path!("src/Windows/mod.rs"));