From 79481f8ffbe536ca92ef2bb991dca28ea9de561b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Marie?= Date: Thu, 5 Mar 2015 18:58:03 +0100 Subject: [PATCH] compilation error in std for target_os="ios" This patch corrects the following errors: ../src/libstd/env.rs:569:42: 569:63 error: unresolved name `super::os::DLL_PREFIX` ../src/libstd/env.rs:569 pub const DLL_PREFIX: &'static str = super::os::DLL_PREFIX; ^~~~~~~~~~~~~~~~~~~~~ ../src/libstd/env.rs:574:42: 574:63 error: unresolved name `super::os::DLL_SUFFIX` ../src/libstd/env.rs:574 pub const DLL_SUFFIX: &'static str = super::os::DLL_SUFFIX; ^~~~~~~~~~~~~~~~~~~~~ ../src/libstd/env.rs:579:45: 579:69 error: unresolved name `super::os::DLL_EXTENSION` ../src/libstd/env.rs:579 pub const DLL_EXTENSION: &'static str = super::os::DLL_EXTENSION; ^~~~~~~~~~~~~~~~~~~~~~~~ --- src/libstd/env.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libstd/env.rs b/src/libstd/env.rs index 1968ca4b9e705..c052a69bc343a 100644 --- a/src/libstd/env.rs +++ b/src/libstd/env.rs @@ -616,6 +616,9 @@ mod os { mod os { pub const FAMILY: &'static str = "unix"; pub const OS: &'static str = "ios"; + pub const DLL_PREFIX: &'static str = "lib"; + pub const DLL_SUFFIX: &'static str = ".dylib"; + pub const DLL_EXTENSION: &'static str = "dylib"; pub const EXE_SUFFIX: &'static str = ""; pub const EXE_EXTENSION: &'static str = ""; }