feat: c++ bindings

This commit is contained in:
Henri Bourcereau 2026-02-26 13:27:55 +01:00
parent 0429999672
commit 3490a184b3
6 changed files with 364 additions and 4 deletions

View file

@ -23,6 +23,10 @@ pythonlib:
rm -rf target/wheels
maturin build -m store/Cargo.toml --release
pip install --no-deps --force-reinstall --prefix .devenv/state/venv target/wheels/*.whl
cxxlib:
cargo build --release -p trictrac-store
@echo "Static lib: $(ls target/release/libtrictrac_store.a)"
@echo "CXX header: $(find target -name 'cxxengine.rs.h' | head -1)"
trainbot algo:
#python ./store/python/trainModel.py
# cargo run --bin=train_dqn # ok