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.
*_SUPER_MAGIC
1 parent d0891d9 commit 4875c52Copy full SHA for 4875c52
src/unix/linux_like/mod.rs
@@ -1366,7 +1366,9 @@ pub const ARPHRD_VOID: u16 = 0xFFFF;
1366
pub const ARPHRD_NONE: u16 = 0xFFFE;
1367
1368
cfg_if! {
1369
- if #[cfg(not(target_arch = "s390x"))] {
+ if #[cfg(target_os = "emscripten")] {
1370
+ // Emscripten does not define any `*_SUPER_MAGIC` constants.
1371
+ } else if #[cfg(not(target_arch = "s390x"))] {
1372
pub const ADFS_SUPER_MAGIC: ::c_long = 0x0000adf5;
1373
pub const AFFS_SUPER_MAGIC: ::c_long = 0x0000adff;
1374
pub const AFS_SUPER_MAGIC: ::c_long = 0x5346414f;
0 commit comments