Skip to content

compilation error in std for target_os="ios" - #23077

Closed
semarie wants to merge 1 commit into
rust-lang:masterfrom
semarie:ios-compile
Closed

compilation error in std for target_os="ios"#23077
semarie wants to merge 1 commit into
rust-lang:masterfrom
semarie:ios-compile

Conversation

@semarie

@semarie semarie commented Mar 5, 2015

Copy link
Copy Markdown
Contributor

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;
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~

The patch is untested: only the compilation was done. The code follow "macos" definition.

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;
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton

Copy link
Copy Markdown
Member

Duplicate of #23029, but thanks!

@semarie
semarie deleted the ios-compile branch March 5, 2015 19:16
@semarie

semarie commented Mar 6, 2015

Copy link
Copy Markdown
Contributor Author

my bad, I don't have checked for duplicate first.

lnicola pushed a commit to lnicola/rust that referenced this pull request Aug 10, 2026
fix: parse or pattern after range pattern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants