We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dlsym!
1 parent 82f5cdf commit 5966184Copy full SHA for 5966184
library/std/src/sys/pal/unix/weak/tests.rs
@@ -1,6 +1,11 @@
1
use super::*;
2
3
#[test]
4
+#[cfg(any(
5
+ target_vendor = "apple",
6
+ all(target_os = "linux", target_env = "gnu"),
7
+ target_os = "freebsd",
8
+))]
9
fn dlsym_existing() {
10
const TEST_STRING: &'static CStr = c"Ferris!";
11
@@ -22,6 +27,11 @@ fn dlsym_existing() {
22
27
}
23
28
24
29
30
31
32
33
34
25
35
fn dlsym_missing() {
26
36
// Try to find a symbol that definitely does not exist.
37
dlsym! {
0 commit comments