Giter Club home page Giter Club logo

rumpsteak_capabilities_install's Introduction

This is a script that helps with setting up rumpsteak for the rust morello compiler.

The problem with rumpsteak is that it uses the future crates, which (as of today) does not work with the morello compiler. (c.f. rust-lang/futures-rs#2777 ). Fortunatelly, there is an alternative version of future that does work.

In a nutshell, it downloads rumpsteak, and patches it so that it uses the alternative version of future. Beside, there is also a patch to set up the Cargo.toml of your project to use this alternative version of rumpsteak.

$ ./install_rumpsteak_morello_toolchain.sh
# this will ask you for the install path
# ... stuff happens ...
$ ls
Cargo.toml.patch  Cargo.toml.patch.template  install_rumpsteak_morello_toolchain.sh  README.md	rumpsteak_morello  rumpsteak.patch  rumpsteak.patch.template
$ # ^important    ^ ignore                   ^ ignore                                ^ it's me  ^ maybe here       ^ ignore         ^ ignore
$ cd /somewhere/
$ cargo init morello_project
$ cd morello_project
$ # Now, patch the local Cargo.toml so that it uses the correct version of rumpsteak:
$ patch Cargo.toml < /path/to/install/dir/Cargo.toml.patch
$ cat Cargo.toml
# Should force rumpsteak's and future's paths

rumpsteak_capabilities_install's People

Contributors

bromind avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.