Confusion on the corrosion build dir #572
-
Hello,
The weirdness is from the fact that the Also note: the above is also failing to build for some reason? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The
this part is just how cargo builds dependencies.
I'm afraid that is not very helpful. You will need to provide more information than just "it fails". |
Beta Was this translation helpful? Give feedback.
The
.
comes from here: https://github.com/corrosion-rs/corrosion/blob/1c6974c2473765449e7c4649f9f96f1b751420c3/cmake/Corrosion.cmake#L589C14-L589C23It just makes it slightly more convenient to construct the cargo target directory here, since the exact path depends on the generator.
I would accept a pull request that removes the
.
from the paththis part is just how cargo builds dependencies.
I'm afraid that is not very helpful. You will need to provide more information than just "it fails".
Especially
-sys
crates often need some additional configuration in t…