Skip to content
This repository was archived by the owner on Aug 3, 2023. It is now read-only.

dont reinstall same binary versions - #1003

Merged
EverlastingBugstopper merged 7 commits into
masterfrom
avery/dont-reinstall
May 12, 2020
Merged

dont reinstall same binary versions#1003
EverlastingBugstopper merged 7 commits into
masterfrom
avery/dont-reinstall

Conversation

@EverlastingBugstopper

@EverlastingBugstopper EverlastingBugstopper commented Jan 17, 2020

Copy link
Copy Markdown
Contributor

Fixes #768

This relies on this PR in @rustwasm/binary-install

Comment thread src/install/mod.rs Outdated
@EverlastingBugstopper

Copy link
Copy Markdown
Contributor Author

@steveklabnik if you have time could you take a look? really appreciate the straightforward API you've provided with the semver crate 👍

@EverlastingBugstopper EverlastingBugstopper self-assigned this Jan 17, 2020
@EverlastingBugstopper
EverlastingBugstopper force-pushed the avery/dont-reinstall branch 2 times, most recently from 9a848a3 to 1ca2784 Compare January 17, 2020 22:22
@EverlastingBugstopper EverlastingBugstopper changed the title wip: dont reinstall same binary versions dont reinstall same binary versions Jan 17, 2020
@EverlastingBugstopper
EverlastingBugstopper force-pushed the avery/dont-reinstall branch 6 times, most recently from 70cf17e to bd198cc Compare January 21, 2020 17:05
@EverlastingBugstopper

Copy link
Copy Markdown
Contributor Author

this is good to go once a new version of binary-install is released. going to open another issue for some more work i'd like to do but it depends on work in #1190 so it should be ok to go through with this as is

@EverlastingBugstopper

Copy link
Copy Markdown
Contributor Author

binary-install has been published so this is ready for review. really excited for this to land.. finally

@PierBover

Copy link
Copy Markdown

Awesome! Thanks @EverlastingBugstopper I will try the binary once it's released.

Comment thread Cargo.toml
vendored-openssl = ['openssl/vendored']

[profile.release]
debug = true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what's this mean?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oh i was using this to debug, great great catch.

background: wranglerjs doesn't download a binary if you're in debug mode so i was building in release mode but still wanted some sorta debug annotation i think? honestly i added this so long ago i kinda forget why i added it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

okay i thought it smelled funny 😀

@EverlastingBugstopper
EverlastingBugstopper merged commit e41be8f into master May 12, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the avery/dont-reinstall branch May 12, 2020 20:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installing on every change wasm-pack / wranglerjs

5 participants