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

install: improve heuristic for deprecation warning #2782

Merged
merged 2 commits into from
May 31, 2021

Conversation

kinnison
Copy link
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
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?

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
@kinnison
Copy link
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
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