Giter Site home page Giter Site logo

driver's Introduction

lrsc

lrsc is the lrs compiler. lrsc is almost identical to rustc but changes the following things:

  • It requires the environment variable LRS_OBJ_PATH to be set and will behave as if it had been called with -L $LRS_OBJ_PATH/<target>.

  • If the --test argument is given, it will behave as if it had been called with --extern test=$LRS_OBJ_PATH/<target>/libtest.rlib.

  • It behaves as if -Z no-landing-pads and -C no-stack-check had been passed.

  • It automatically loads the lrs_core_plugin plugin.

  • Whenever core or std are injected, they will be injected as lrs_core as core and lrs as std.

The differences between lrsc and rustc can be inspected by comparing the master and the rustc branch.

lrsc is based on the rustc commit abf60b20a and will be updated in irregular intervals. Note that this rust version must be installed before you can build lrsc.

Building lrsc should not take more than a few seconds as it is a rather small program. To build it, simply use the provided Makefile. Afterwards you should copy the generated file into dirname $(which rustc), as described in the readme of the lib repository.

driver's People

Contributors

mahkoh avatar

Stargazers

Cody Schafer avatar Will Hipschman avatar

Watchers

James Cloos avatar Costantino Giuliodori avatar  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.