Copyleft Games

Write Rust tool for WAF

We currently use a Python-based build system called Waf for PySoy. While its extremely versatile, it doesn't currently support Rust (.rs) which we're in the process of migrating to.

While we may eventually migrate to Rust's build system Cargo, the mixed nature of the code and Waf's extendable nature makes writing a tool for compiling Rust an optimal solution for now.

Using the builtin Waf tools and libsoy/genie.py as a guide, write a tool that builds Rust code. This new tool may simply call Cargo to download dependencies and execute rustc.

Commit your resulting tool to libsoy/rust.py and post a link to the changeset to this task when you're done.

Task tags

  • python
  • pysoy
  • rust

Students who completed this task

KRampalli

Task type

  • code Code
  • done_all Quality Assurance
close

2018