Giter VIP home page Giter VIP logo

rlibc's Introduction

rlibc

DEPRECATED: This crate used to provide a Rust implementation of some libc functions such as memcpy / memmove / memset, required when developing freestanding applications.

The compiler-builtins crate now provides optimized versions of these functions when enabling the optional mem feature. It also provides a lot of other useful functions required by bare metal applications. It should be used instead of this one.

The old version of this crate is still browsable by looking in Git's history. No further development will happen here.

rlibc's People

Contributors

alexcrichton avatar gabrielmajeri avatar huonw avatar mvdnes avatar steveklabnik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rlibc's Issues

1.0?

Now that no_std is stable, can we maybe promote this to a 1.0? These functions' signatures are pretty much the definition of stability.

Newer LLVM makes memset recursive

I've discovered that recent rustc nightlies (since January 30 at least) are smart enough to optimize memset and possibly other functions provided here into calls to the corresponding intrinsic which makes them recurse infinitely.

I'm guessing it's related to the switch to LLVM 3.8 in 303892ee15. I'm adopting a workaround with optimized assembly versions of these functions which are opaque to the optimizer, but that's not a portable nor particularly good solution.

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.