Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,3 @@ repos:
exclude_types:
- json
- javascript
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
files: ".*\\.(js|mjs|cjs|jsx|ts|tsx)$"
8 changes: 0 additions & 8 deletions docs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,6 @@ stardoc(
deps = ["@rules_rust_wasm_bindgen//:bzl_lib"],
)

stardoc(
name = "rust_wasm_bindgen_rules_js",
out = "src/rust_wasm_bindgen_rules_js.md",
input = "@rules_rust_wasm_bindgen//rules_js:defs.bzl",
deps = ["@rules_rust_wasm_bindgen//rules_js:bzl_lib"],
)

stardoc(
name = "rust_settings",
out = "src/rust_settings.md",
Expand Down Expand Up @@ -295,7 +288,6 @@ mdbook(
":rust_toolchains",
":rust_unpretty",
":rust_wasm_bindgen",
":rust_wasm_bindgen_rules_js",
],
book = "book.toml",
)
Expand Down
3 changes: 0 additions & 3 deletions extensions/wasm_bindgen/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
## https://bazel.build/docs/best-practices#bazelrc-file
###############################################################################

# TODO: https://github.com/bazelbuild/rules_rust/issues/3319
common --deleted_packages=rules_js,rules_js/test

# An alias for the test browser setting.
common --flag_alias=test_browser=//settings:test_browser

Expand Down
1 change: 0 additions & 1 deletion extensions/wasm_bindgen/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ bazel_dep(name = "bazel_features", version = "1.32.0")
bazel_dep(name = "bazel_skylib", version = "1.8.1")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "rules_cc", version = "0.2.4")
bazel_dep(name = "aspect_rules_js", version = "2.1.2")
bazel_dep(name = "apple_support", version = "1.23.0")

rust_ext = use_extension("//:extensions.bzl", "rust_ext")
Expand Down
8 changes: 1 addition & 7 deletions extensions/wasm_bindgen/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,7 @@ toolchains to register in the workspace.

## Interfacing with Javascript rules

While it's recommended for users to maintain their own , in the
`@rules_rust_wasm_bindgen` package there exists interface sub-packages for various
Javascript Bazel rules. E.g. `aspect_rules_js`. The rules defined there are a more
convenient way to use `rust_wasm_bindgen` with the associated javascript rules due
to the inclusion of additional providers. Each directory contains a `defs.bzl` file
that defines the different variants of `rust_wasm_bindgen`. (e.g. `js_rust_wasm_bindgen`
for the `rules_js` submodule).
Rules for doing so can be found at [rules_js_rust_wasm_bindgen](https://github.com/UebelAndre/rules_js_rust_wasm_bindgen)


[wb]: https://github.com/rustwasm/wasm-bindgen
Expand Down
17 changes: 0 additions & 17 deletions extensions/wasm_bindgen/rules_js/BUILD.bazel

This file was deleted.

59 changes: 0 additions & 59 deletions extensions/wasm_bindgen/rules_js/defs.bzl

This file was deleted.

23 changes: 0 additions & 23 deletions extensions/wasm_bindgen/rules_js/repositories.bzl

This file was deleted.

104 changes: 0 additions & 104 deletions extensions/wasm_bindgen/rules_js/test/BUILD.bazel

This file was deleted.

30 changes: 0 additions & 30 deletions extensions/wasm_bindgen/rules_js/test/hello_world_wasm_test.js

This file was deleted.