Skip to content

install: improve heuristic for deprecation warning#2782

Merged
rbtcollins merged 2 commits intorust-lang:masterfrom
kinnison:improve-cross-check
May 31, 2021
Merged

install: improve heuristic for deprecation warning#2782
rbtcollins merged 2 commits intorust-lang:masterfrom
kinnison:improve-cross-check

Conversation

@kinnison
Copy link
Copy Markdown
Contributor

Nominally this will fix #2773 and fix #2765

Basically adjust the heuristic from just "host != target" to account for Windows a little more.

@kinnison kinnison requested a review from rbtcollins May 23, 2021 13:47
Copy link
Copy Markdown
Contributor

@rbtcollins rbtcollins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does can_run get called with self == other ?

perhaps a couple of tests?

kinnison added 2 commits May 30, 2021 15:44
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
@kinnison
Copy link
Copy Markdown
Contributor Author

Good catch re self==other - that could happen and would have failed. I've written a unit test for this and assuming it passes I'll push soon.

@kinnison
Copy link
Copy Markdown
Contributor Author

@rbtcollins If you're okay with this, I'd like to get it merged and then look at doing another staged beta release so that we can get the fixes out soon.

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.

--force-non-host warning is too broad Requiring --force-non-host for *-pc-windows-gnu

2 participants