Skip to content

Rust Playpen Integration #71

Closed
Closed
@zslayton

Description

@zslayton

Some of the Rust devs have put together a site that lets you experiment with Rust code, seeing output as well as asm/ir.

It would be really helpful to provide a link to launch each of the source files in the playpen so readers could toy with the examples on their own.

The site understands links in the format:

http://playtest.rust-lang.org/?code=fn+main()+{+println!(%22foo%22)+}&run=1

There's also a CORS-enabled API that supports directly submitting code via POST if that's more interesting.

I'm happy to help code this if someone can describe the best way to go about adding this functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions