Permalink
Switch branches/tags
Commits on Jan 20, 2018
  1. Run rustfmt on code

    mrhota committed Jan 15, 2018
  2. Port strdup

    mrhota committed Jan 14, 2018
  3. Implement rindex and friends

    mrhota committed Jan 14, 2018
Commits on Jan 15, 2018
  1. Add reference to musl commit for EPERM fixup

    mrhota authored and anp committed Jan 14, 2018
  2. Fix broken malloc tests

    mrhota authored and anp committed Jan 14, 2018
    A commit in Sept. to the mmap.c file fixed an OS
    problem where mmap would sometimes return EPERM
    instead of ENOMEM. This caused several malloc tests
    to fail mysteriously. This ports the musl fix to
    rusl.
  3. Clean before tests to prevent hidden failures

    mrhota authored and anp committed Jan 14, 2018
  4. Use separate directory for test_rusl test runs

    mrhota authored and anp committed Jan 13, 2018
  5. Don't move librusl.a, just copy

    mrhota authored and anp committed Jan 13, 2018
  6. Add rustfmt component using rustup

    mrhota authored and anp committed Jan 13, 2018
  7. Remove cleanall from test script

    mrhota authored and anp committed Jan 13, 2018
  8. Fix warnings

    mrhota authored and anp committed Jan 13, 2018
  9. Bump dependencies

    mrhota authored and anp committed Jan 13, 2018
Commits on Feb 27, 2017
  1. Provide a revision for compiler_builtins

    mrhota authored and anp committed Feb 27, 2017
  2. Don't use libstd

    mrhota authored and anp committed Feb 27, 2017
    The dependency, va_list, has a feature (no_std) which stops it from
    pulling in libstd. We weren't using it. Now we are. Now rustc won't
    secretly link rusl with libstd.
    
    We also need to provide intrinsics via compiler_builtins, and I took
    the opportunity to update dependencies.
  3. Implement dup and dup2

    mrhota authored and anp committed Feb 26, 2017
    These two functions don't need fcntl, so they're easy. Some systems
    don't have DUP2 syscall, though, so if we want to implement dup2 for
    them, we will need to abstract over platforms here.
Commits on Feb 10, 2017
  1. Remove .bk files (#18)

    mrhota authored and anp committed Feb 10, 2017
  2. Port easy exits (#17)

    mrhota authored and anp committed Feb 10, 2017
    * Port easy exits
    
    some of the mess in exit.rs is meant for dynlink. Read commit
    messages for exit.c and friends for full details and
    justifications.
    
    * Make exits safe
    
    * Add comments and links to musl changesets
Commits on Feb 9, 2017
  1. Update rustfmt version and fix style

    mrhota authored and anp committed Jan 13, 2017
  2. Mimic musl's strlen

    mrhota authored and anp committed Jan 13, 2017
  3. Update rustfmt version

    mrhota authored and anp committed Feb 9, 2017
  4. Add weak linkage attributes

    mrhota authored and anp committed Feb 9, 2017
Commits on Jan 15, 2017
  1. Update travis config to use build_and_test.sh

    mrhota authored and anp committed Jan 11, 2017
  2. Improve scripts

    mrhota authored and anp committed Jan 11, 2017
    The major change here is some script refactoring and the addition of the full
    libc-test run using musl's libc.a before we mix in librusl.a's symbols. That
    is, we run libc-test _twice_: once using musl's original symbols, and again
    using rusl's symbols.
    
    We run the tests using musl so we have an up-to-date record of what fails on
    a given machine, rather than using baseline_failures, which must be kept up-
    to-date and runs the risk of being wrong on different machines.
  3. Sort and otherwise update baseline_failures

    mrhota authored and anp committed Jan 8, 2017
  4. Use git scheme instead of ssh

    mrhota authored and anp committed Jan 8, 2017
  5. Fix build

    mrhota authored and anp committed Jan 8, 2017
    Convert libc-test and musl into git submodules so we can update as needed
    without huge changesets.
    
    Using submodules means we can just deleted the .c files we convert, so we
    provide a file called ported_objects which contains a list of .o files to
    delete from libc.a before adding in librusl.a's contents.
    
    We include some discussion of symbol conflicts and resolution in the readme.
    
    We also sneak in a couple rusl changes:
        * privatize a few malloc.rs symbols because they aren't public in musl
        * correct clock_setttime to clock_settime
  6. Update libc-test

    mrhota authored and anp committed Jan 7, 2017
Commits on Jun 18, 2016
  1. Add rust implementation of `strspn` (#7)

    andrey-gvrd authored and anp committed Jun 18, 2016
    * add strspn.rs
    * remove strspn.c
  2. Adding link to C & POSIX documentation.

    anp committed Jun 18, 2016
    Closes #8.
Commits on Jun 16, 2016
  1. Using rlibc to replace memcpy/memset/memmove/memcmp.

    anp committed Jun 16, 2016
  2. Fixing style check.

    anp committed Jun 16, 2016
  3. Making the rustfmt installation conditional.

    anp committed Jun 16, 2016