Skip to content

Use new dependency resolver for template contract#325

Merged
HCastano merged 3 commits into
masterfrom
hc-switch-default-resolver
Aug 11, 2021
Merged

Use new dependency resolver for template contract#325
HCastano merged 3 commits into
masterfrom
hc-switch-default-resolver

Conversation

@HCastano

@HCastano HCastano commented Aug 9, 2021

Copy link
Copy Markdown
Contributor

By default, Cargo's dependency resolver leaks std features from dev-dependencies into
no_std builds. This results in confusing errors messages such as the one in
use-ink/ink#889.

To avoid issues like this we can use the new(ish) dependency resolver, which doesn't leak
features from dev-dependencies into the regular build. You can read more about it here.

@HCastano HCastano added the enhancement New feature or request label Aug 9, 2021
@HCastano HCastano changed the title Use new dependency resolver Use new dependency resolver for template contract Aug 9, 2021
@HCastano
HCastano requested a review from cmichi August 9, 2021 19:06
Comment thread CHANGELOG.md Outdated
Co-authored-by: Michael Müller <michi@parity.io>
@HCastano
HCastano merged commit 5af44eb into master Aug 11, 2021
@HCastano
HCastano deleted the hc-switch-default-resolver branch August 11, 2021 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants