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
27 changes: 0 additions & 27 deletions .github/workflows/cargo-vet.yml

This file was deleted.

7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
test-wasi-targets test-wasip1-targets test-wasip2-targets wasi-targets \
lint-native-targets test-native-targets test-native-targets-ci native-targets \
test-wpt test-wpt-ci test-all clean cli build-default-plugin build-test-plugins \
vet ci
ci
.DEFAULT_GOAL := cli

# === Format checks ===
Expand Down Expand Up @@ -112,14 +112,11 @@ test-all: wasi-targets native-targets test-wpt
clean:
cargo clean

vet:
cargo vet --locked

# Intended to simulate what the GitHub Actions CI workflow will run.
# We don't invoke this directly because we often run out of disk space in
# GitHub Actions if we try to compile native targets in the same workflow as
# WASI targets so we have to use a multi-step process in GitHub to avoid that.
ci: lint-wasi-targets lint-native-targets vet test-all
ci: lint-wasi-targets lint-native-targets test-all

# First, build the default plugin, which is a dependency to the CLI.
# No need to run `javy_plugin_processing`, the CLI build.rs will take
Expand Down
1 change: 0 additions & 1 deletion docs/docs-contributing-developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

- `wasmtime-cli`, can be installed via `cargo install wasmtime-cli`
- `cargo-hack`, can be installed via `cargo +stable install cargo-hack --locked`
- `cargo-vet`, can be installed via `cargo install --version 0.9.0 cargo-vet --locked`
12 changes: 0 additions & 12 deletions docs/docs-contributing-testing-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,3 @@ cargo +stable install cargo-hack --locked
```
make fmt tests
```

4. If adding new dependencies, vet the dependencies

```
cargo vet
```

If this fails, follow on-screen instructions to trust any dependencies it suggests trusting. If `cargo vet` still fails after trusting those dependencies, then run:

```
cargo vet regenerate exemptions
```
9 changes: 0 additions & 9 deletions docs/docs-contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,6 @@ version `3.0.0` has not been published yet so version `3.0.0` can contain
a mixture of additive and breaking changes from the last `2.x.x` version
published.

## cargo vet

We use [cargo vet](https://mozilla.github.io/cargo-vet/) to audit dependencies
for the project. If you need to change or add dependencies, please try to use
a dependency that has been audited by one one of the audits we import or is
published by one of the authors we trust (sunfishcode, dtolnay, Amanieu,
cuviper). This is preferable to adding new exemptions for the project. Do not
add new audits for crates that are not in this project.

## Web platform tests (WPT)

We run a subset of the web platform test suite during continuous integration. We
Expand Down
Loading