mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Rust as 1st class language
This commit is contained in:
parent
028efcbd87
commit
eb469c756d
5 changed files with 174 additions and 24 deletions
|
|
@ -471,7 +471,7 @@ def test_additional_rust_cli_dependencies_installed(
|
|||
hook = _get_hook(config, store, 'rust-hook')
|
||||
binaries = os.listdir(
|
||||
hook.prefix.path(
|
||||
helpers.environment_dir(rust.ENVIRONMENT_DIR, C.DEFAULT), 'bin',
|
||||
helpers.environment_dir(rust.ENVIRONMENT_DIR, 'system'), 'bin',
|
||||
),
|
||||
)
|
||||
# normalize for windows
|
||||
|
|
@ -490,7 +490,7 @@ def test_additional_rust_lib_dependencies_installed(
|
|||
hook = _get_hook(config, store, 'rust-hook')
|
||||
binaries = os.listdir(
|
||||
hook.prefix.path(
|
||||
helpers.environment_dir(rust.ENVIRONMENT_DIR, C.DEFAULT), 'bin',
|
||||
helpers.environment_dir(rust.ENVIRONMENT_DIR, 'system'), 'bin',
|
||||
),
|
||||
)
|
||||
# normalize for windows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue