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

Fixed legacy-provider-syntax for wasm_bindgen #564

Merged
merged 2 commits into from
Feb 2, 2021
Merged

Fixed legacy-provider-syntax for wasm_bindgen #564

merged 2 commits into from
Feb 2, 2021

Conversation

UebelAndre
Copy link
Collaborator

This does more or less the same thing as @rules_nodejs//packages/labs/protobufjs:ts_proto_library.bzl but this change drops the legacy provider syntax.

closes #443

@google-cla google-cla bot added the cla: yes label Jan 29, 2021
@UebelAndre
Copy link
Collaborator Author

UebelAndre commented Jan 29, 2021

I could use some help with this error

(01:09:31) ERROR: /workdir/wasm_bindgen/BUILD:8:12: in deps attribute of bzl_library rule //wasm_bindgen:rules: '@build_bazel_rules_nodejs//:bzl' does not have mandatory providers: 'StarlarkLibraryInfo'
--

My confusion is that the version of rules_nodejs I'm using in this PR has a public '@build_bazel_rules_nodejs//:bzl' defined as a public bzl_library (see here). There should be no error in here.

@UebelAndre
Copy link
Collaborator Author

This is blocked on bazelbuild/rules_nodejs#2430

@UebelAndre
Copy link
Collaborator Author

This PR is now unblocked. @hlopko do you have a moment to take a look here?

Copy link
Member

@hlopko hlopko left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@hlopko hlopko merged commit 932a389 into bazelbuild:main Feb 2, 2021
@UebelAndre UebelAndre deleted the wasm-bindgen branch February 2, 2021 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Solve for rule-impl-return/legacy-provider-syntax issues in wasm_bindgen/wasm_bindgen.bzl
2 participants