rsnext/.github
Benjamin Woodruff 4ead5fc00d
next-swc-napi: Enable "plugin" feature by default (#66006)
As noted in (https://github.com/vercel/nextpack/pull/103), by not having
this as a default feature, when running the `build-native` script it's
not able to re-use any cargo caches that might already exist from a
default build.

Because this feature impacts the swc crate, everything dependent on it
can be forced to rebuild.

By making this a default feature, the hope/theory is that the number of
different ways we potentially build our dependency graph reduces, and
cargo cache hits will improve.

## Changes

- Add `plugin` to the default set of features for `next-swc-napi`.
- Consolidate `build-native-no-plugin-woa` with
`build-native-no-plugin`. Given the lack of any other default features,
these are equivalent.
- `i686-pc-windows-msvc`: Switch to `build-native-no-plugin-release` in
CI instead of just supplying the `--release` flag. This has the benefit
of also enabling `tracing/release_max_level_info`, which might reduce
the size of or speed up these builds.
- `x86_64-apple-darwin`: Remove a redundant `--release` flag in the CI
config (no expected changes).

## Testing

I've tested this locally on Linux (`pnpm run build-native`) and
Windows-on-ARM (`pnpm run build-native-no-plugin`) by making sure things
still build. I'll also make sure CI passes.
2024-05-22 11:09:04 -07:00
..
actions chore(github-workflow): move issues, prs, features to #next-info channel (#65991) 2024-05-20 22:23:33 +00:00
comments chore: add resolved label (#61416) 2024-01-31 02:50:23 +01:00
DISCUSSION_TEMPLATE chore: improve repo templates (#46629) 2023-03-01 09:25:51 -08:00
ISSUE_TEMPLATE chore: add more labels (#65209) 2024-04-30 15:26:06 +00:00
workflows next-swc-napi: Enable "plugin" feature by default (#66006) 2024-05-22 11:09:04 -07:00
CODEOWNERS feat(next/image)!: remove squoosh in favor of sharp as optional dependency (#63321) 2024-04-25 14:01:56 -04:00
labeler.json chore: update labels in workflows/templates (#63713) 2024-04-17 14:28:51 +02:00
pnpm-lock.yaml chore(github-workflow): update popular workflows cron time, fix undef… (#65172) 2024-04-29 19:34:36 +00:00
pnpm-workspace.yaml chore(ci): add pnpm workspace for github actions (#52976) 2023-07-21 14:29:31 +00:00
pull_request_template.md Update pull_request_template.md (#55098) 2023-09-08 00:19:49 +00:00