| 12345678910111213141516171819 |
- #!/usr/bin/env zx
- import 'zx/globals';
- import {
- cliArguments,
- getToolchainArgument,
- workingDirectory,
- } from '../utils.mjs';
- const args = cliArguments();
- const toolchain = getToolchainArgument('lint');
- const manifestPath = path.join(
- workingDirectory,
- 'clients',
- 'rust',
- 'Cargo.toml'
- );
- // Check feature powerset.
- await $`cargo ${toolchain} hack check --manifest-path ${manifestPath} --feature-powerset --all-targets ${args}`;
|