Skip to content

Commit

Permalink
Generate Rust source command (which does not work).
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Aug 14, 2020
1 parent df8efa0 commit 3f1f835
Show file tree
Hide file tree
Showing 6 changed files with 1,437 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,5 @@ tests/main_fuzzer*
report.json
generated
lib/libpbtools.a
Cargo.lock
Cargo.lock
/*.rs
2 changes: 2 additions & 0 deletions pbtools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ def _main():
# Import when used for less dependencies. For example, curses is
# not part of all Python builds.
from .subparsers import generate_c_source
from .subparsers import generate_rust_source

generate_c_source.add_subparser(subparsers)
generate_rust_source.add_subparser(subparsers)

args = parser.parse_args()

Expand Down

0 comments on commit 3f1f835

Please sign in to comment.