rust-osdev / cargo-xbuild

Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc.
Apache License 2.0
256 stars 25 forks source link

Make `fn build` and `Args` public to enable use as lib #59

Closed ascjones closed 4 years ago

ascjones commented 4 years ago

Closes #58.

Calling build directly allows use of xbuild as a library rather than needing to invoke it. This means for my build tool the user is not required to install xbuild. See https://github.com/paritytech/cargo-contract/pull/33/files#diff-ddd98095116f321c0aff2844e8cd3c55R106.

phil-opp commented 4 years ago

Looks good to me, thanks!

phil-opp commented 4 years ago

Published as version 0.5.24