Go to file
Wolfgang Bumiller 790d11edf1 buildsys: drop -C prefer-dynamic (and rebuild 0.3.0)
also add perl depends

the std library is actually big and not linking dynamically
doesn't add much
besides, the package names for libstd would cause issues
with minor compiler bumps...

the 0.3.0 package is actually built from this commit now,
since the installability checks caught this...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-10 12:32:42 +01:00
.cargo import basic skeleton 2021-11-09 08:54:06 +01:00
perl-apt move apt to /perl-apt, use PERLMOD_PRODUCT env var 2021-11-09 08:59:43 +01:00
pve-rs buildsys: drop -C prefer-dynamic (and rebuild 0.3.0) 2021-11-10 12:32:42 +01:00
.gitignore import basic skeleton 2021-11-09 08:54:06 +01:00
Cargo.toml import pve-rs 2021-11-09 08:56:38 +01:00
Makefile buildsys: add upload target 2021-11-10 11:58:03 +01:00
README.md Add some dev tips to a README 2021-11-09 12:02:53 +01:00
rustfmt.toml import basic skeleton 2021-11-09 08:54:06 +01:00

Hints for development:

With the current perlmod, the .pm files don't actually change anymore, since the exported method setup is now handled by the bootstrap rust-function generated by perlmod, so for quicker debugging, you can just keep the installed .pm files from the package and simply link the library to the debug one like so:

NOTE: You may need to adapt the perl version number in this path:

# ln -sf $PWD/target/debug/libpve_rs.so /usr/lib/x86_64-linux-gnu/perl5/5.32/auto/libpve_rs.so

Then just restart pvedaemon/pveproxy after running make pve.