rpm-ostree/packaging
Colin Walters d218f27188 Change main entrypoint to be Rust
We now have bidirectional calling between Rust and C++,
but we are generating two static libraries that we then
link together with a tiny C++ `main.cxx`.
Let's make another huge leap towards oxdiation by
having Rust be the entrypoint.  This way cargo natively
takes care of linking the internal Rust library, and
our C++ internals become the library.

In other words, we've now fully inverted from
"C app with internal Rust library"
to "Rust binary with internal C++ library".

In order to make this work though we have to finally
kill the C unit tests.  But mostly everything covered
there is either being converted to Rust, or covered
elsewhere anyways.

Now as the doc comments in `main.rs` say...this is
a bit awkward because all the CLI code is still in C++.
Porting stuff to use e.g. `structopt` natively would
be a bit of a slog.  For now, we basically rely on
the fact that the Rust-native CLIs are all hidden
commands.

Update submodule: libdnf
2021-02-01 08:17:52 -05:00
..
.gitignore build: Update .gitignore 2016-03-26 14:22:41 +00:00
Dockerfile packaging: Add a cccp.yml and tweak Dockerfile 2016-09-13 13:35:12 +00:00
make-git-snapshot.sh Makefile.bindings: Also generate pure rust/cxx.h 2021-01-27 19:36:34 -05:00
Makefile.dist-packaging packaging: Fix repomanage usage 2019-09-09 23:50:32 +00:00
rpm-ostree.spec.in Change main entrypoint to be Rust 2021-02-01 08:17:52 -05:00
rpmbuild-cwd packaging: New directory with spec file 2014-01-15 21:54:48 -05:00