Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/os/unix/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ mod posix {
target_os = "fuchsia",
target_os = "redox",
target_os = "nto",
target_os = "qnx",
target_os = "hurd",
target_os = "cygwin",
))] {
Expand Down Expand Up @@ -128,6 +129,7 @@ mod posix {
target_os = "fuchsia",
target_os = "redox",
target_os = "nto",
target_os = "qnx",
target_os = "hurd",
target_os = "cygwin",
))] {
Expand Down Expand Up @@ -183,6 +185,7 @@ mod posix {
target_os = "fuchsia",
target_os = "redox",
target_os = "nto",
target_os = "qnx",
target_os = "hurd",
))] {
pub(super) const RTLD_GLOBAL: c_int = 0x100;
Expand All @@ -197,6 +200,7 @@ mod posix {
if #[cfg(any(
target_os = "netbsd",
target_os = "nto",
target_os = "qnx",
))] {
pub(super) const RTLD_LOCAL: c_int = 0x200;
} else if #[cfg(target_os = "aix")] {
Expand Down
2 changes: 2 additions & 0 deletions tests/library_filename.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ mod test {
const EXPECTED: &str = "libaudioengine.so";
#[cfg(target_os = "macos")]
const EXPECTED: &str = "libaudioengine.dylib";
#[cfg(target_os = "qnx")]
const EXPECTED: &str = "libaudioengine.so";

#[test]
fn test_library_filename() {
Expand Down
Loading