mirror of https://github.com/tildeio/helix
Add an option to pass extra arguments to cargo
This is e.g. useful for conditional compilation with features
This commit is contained in:
parent
f5840040ef
commit
538a1c9fa9
|
@ -100,6 +100,9 @@ module HelixRuntime
|
|||
if ENV['VERBOSE']
|
||||
cargo_args << " --verbose"
|
||||
end
|
||||
if ENV['CARGO_EXTRA_ARGS']
|
||||
cargo_args << ENV['CARGO_EXTRA_ARGS']
|
||||
end
|
||||
if link_args
|
||||
rustc_args << "-C link-args=#{link_args}"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue