-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Fixes for VxWorks #75758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes for VxWorks #75758
Conversation
Thanks for helping with the review. Please let me know if there is any change I should do in the code. |
I'm not comfortable reviewing the changes in bootstrap. Maybe @Mark-Simulacrum is interested? |
Can you help to review the code? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with nit fixed and comments switched to // comment
syntax which is preferred in Rust.
src/bootstrap/lib.rs
Outdated
@@ -857,6 +857,10 @@ impl Build { | |||
if let Some(linker) = self.config.target_config.get(&target).and_then(|c| c.linker.as_ref()) | |||
{ | |||
Some(linker) | |||
} else if target.contains("vxworks") { | |||
/* need to use CXX compiler as linker to resolve the execption functions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/* need to use CXX compiler as linker to resolve the execption functions | |
/* need to use CXX compiler as linker to resolve the exception functions |
fix building errors use wr-c++ as linker
@bors r+ rollup Thanks! |
📌 Commit 079baaf has been approved by |
Rollup of 10 pull requests Successful merges: - rust-lang#74730 (Hexagon libstd: update type defs) - rust-lang#75758 (Fixes for VxWorks) - rust-lang#75780 (Unconfuse Unpin docs a bit) - rust-lang#75806 (Prevent automatic page change when using history) - rust-lang#75818 (Update docs for SystemTime Windows implementation) - rust-lang#75837 (Fix font color for help button in ayu and dark themes) - rust-lang#75870 (Unify theme choices border color in ayu theme) - rust-lang#75875 (Shorten liballoc vec resize intra-doc link) - rust-lang#75953 (Fix swapped stability attributes for rustdoc lints) - rust-lang#75958 (Avoid function-scoping global variables) Failed merges: r? @ghost
r? @alexcrichton