zilch-cli-rust: fix ordering of append-dir
This commit is contained in:
parent
974290206c
commit
bac63118d2
1 changed files with 3 additions and 3 deletions
|
|
@ -104,9 +104,6 @@ executables in the crate, if unspecified)
|
|||
(for-each check-dep (cargo-crate-dependencies crate))
|
||||
(for-each check-dep (cargo-crate-build-dependencies crate)))
|
||||
|
||||
(when cargo-toml
|
||||
(add-crate-targets crate-dir root-vfs cargo-toml #f))
|
||||
|
||||
(define seen-crate-names '())
|
||||
|
||||
(define (append-dir dirname vfs workspace)
|
||||
|
|
@ -119,6 +116,9 @@ executables in the crate, if unspecified)
|
|||
(set! seen-crate-names (cons (cargo-crate-name parsed-cargo) seen-crate-names))
|
||||
(add-crate-targets dirname vfs parsed-cargo workspace)))
|
||||
|
||||
(when cargo-toml
|
||||
(add-crate-targets crate-dir root-vfs cargo-toml #f))
|
||||
|
||||
(when cargo-workspace
|
||||
(for-each
|
||||
(lambda (workspace-member)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue