Skip to content
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

*Actually* fix make install with rlibs #10753

Merged
merged 1 commit into from
Dec 2, 2013

Conversation

alexcrichton
Copy link
Member

Turns out that we only want to install the target rlibs, not the host rlibs.
I had it backwards the first time, then mixed up the second time, but this time
should get it right.

There's no need for host rlib files because none of them are needed at runtime.

Turns out that we only want to install the target rlibs, not the host rlibs.
I had it backwards the first time, then mixed up the second time, but this time
should get it right.

There's no need for host rlib files because none of them are needed at runtime.
@huonw
Copy link
Member

huonw commented Dec 1, 2013

I assume you've checked that this works locally?

@spencerdeinum
Copy link

I was trying to install rust from master today, kept getting strange errors.

Applying this to my mk/install.mk file fixed my issues.

@alexcrichton
Copy link
Member Author

Yes, I checked this locally.

bors added a commit that referenced this pull request Dec 1, 2013
Turns out that we only want to install the target rlibs, not the host rlibs.
I had it backwards the first time, then mixed up the second time, but this time
should get it right.

There's no need for host rlib files because none of them are needed at runtime.
@bors bors closed this Dec 2, 2013
@bors bors merged commit c6e934f into rust-lang:master Dec 2, 2013
@alexcrichton alexcrichton deleted the fix-make-install branch December 4, 2013 01:43
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 20, 2023
redundant_pattern_matching

This PR try to solve this issue rust-lang/rust-clippy#10726,
but it enter in conflict with another test.

changelog: none

Try to test this:
```
let _w = match x {
     Some(_) => true,
     _ => false,
};
```

this happen:
```
 error: match expression looks like `matches!` macro
   --> $DIR/match_expr_like_matches_macro.rs:21:14
    |
 LL |       let _w = match x {
    |  ______________^
 LL | |         Some(_) => true,
 LL | |         _ => false,
 LL | |     };
    | |_____^ help: try this: `matches!(x, Some(_))`

+error: redundant pattern matching, consider using `is_some()`
+  --> $DIR/match_expr_like_matches_macro.rs:21:14
+   |
+LL |       let _w = match x {
+   |  ______________^
+LL | |         Some(_) => true,
+LL | |         _ => false,
+LL | |     };
+   | |_____^ help: try this: `x.is_some()`
+   |
+   = note: `-D clippy::redundant-pattern-matching` implied by `-D warnings`
+
```
I need some help to fix this. Thanks
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