summaryrefslogtreecommitdiffstats
path: root/toolkit/crashreporter/client/app/src/net/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/crashreporter/client/app/src/net/mod.rs')
-rw-r--r--toolkit/crashreporter/client/app/src/net/mod.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolkit/crashreporter/client/app/src/net/mod.rs b/toolkit/crashreporter/client/app/src/net/mod.rs
new file mode 100644
index 0000000000..d9951d7fc3
--- /dev/null
+++ b/toolkit/crashreporter/client/app/src/net/mod.rs
@@ -0,0 +1,12 @@
+/* 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/. */
+
+pub mod legacy_telemetry;
+mod libcurl;
+pub mod report;
+
+#[cfg(test)]
+pub fn can_load_libcurl() -> bool {
+ libcurl::load().is_ok()
+}