Skip to content

Confusion on the corrosion build dir #572

Answered by jschwe
Christian-Prather asked this question in Q&A
Discussion options

You must be logged in to vote

The . comes from here: https://github.com/corrosion-rs/corrosion/blob/1c6974c2473765449e7c4649f9f96f1b751420c3/cmake/Corrosion.cmake#L589C14-L589C23
It 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 path

x86_64-unknown-linux-gnu/debug/build/libffi-sys-4c3df4092463751b

this part is just how cargo builds dependencies.

Also note: the above is also failing to build for some reason?

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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Christian-Prather
Comment options

Answer selected by Christian-Prather
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants