mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
C L I P P Y
This commit is contained in:
parent
729aab21a1
commit
41fafd85fd
2 changed files with 2 additions and 2 deletions
|
@ -557,7 +557,7 @@ fn roc_run(
|
||||||
// If possible, report the generated executable name relative to the current dir.
|
// If possible, report the generated executable name relative to the current dir.
|
||||||
let generated_filename = binary_path
|
let generated_filename = binary_path
|
||||||
.strip_prefix(env::current_dir().unwrap())
|
.strip_prefix(env::current_dir().unwrap())
|
||||||
.unwrap_or(&binary_path);
|
.unwrap_or(binary_path);
|
||||||
|
|
||||||
// No need to waste time freeing this memory,
|
// No need to waste time freeing this memory,
|
||||||
// since the process is about to exit anyway.
|
// since the process is about to exit anyway.
|
||||||
|
|
|
@ -46,7 +46,7 @@ fn main() -> io::Result<()> {
|
||||||
Some(arg_index) => {
|
Some(arg_index) => {
|
||||||
let roc_file_arg_index = arg_index + 1; // Not sure why this +1 is necessary, but it is!
|
let roc_file_arg_index = arg_index + 1; // Not sure why this +1 is necessary, but it is!
|
||||||
|
|
||||||
build(&matches, BuildConfig::BuildAndRun { roc_file_arg_index })
|
build(matches, BuildConfig::BuildAndRun { roc_file_arg_index })
|
||||||
}
|
}
|
||||||
|
|
||||||
None => {
|
None => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue