Skip to content
Branch: master
Commits on Nov 12, 2017
  1. Add ci for DragonFly (disabled for now)

    mneumann committed Oct 29, 2017
Commits on Oct 29, 2017
  1. Support Dragonfly when building Openssl

    mneumann committed Oct 29, 2017
Commits on Dec 6, 2016
  1. Fix current_exe() on DragonFly (again)

    mneumann committed Dec 6, 2016
    This is a follow up on [this pull request][1].
    Since DragonFly 4.6.1 ([this commit][2]), the "kern.proc.pathname"
    sysctl works correctly, i.e. it does not return paths including a ":"
    (see [here][3]). Use it and don't try to fix old versions of DragonFly!
    There are not many DragonFly installations out there that we can't
    control and no one is compiling Rust from source. If someone wants to
    run Rust on a pre-4.6.1 DragonFly system, the ports system should
    provide a patch.
    [1]: #35494
Commits on Aug 6, 2016
  1. Fix build on DragonFly (unused function errno_location)

    mneumann committed Aug 6, 2016
    Function errno_location() is not used on DragonFly. As warnings are
    errors, this breaks the build.
Commits on Apr 7, 2016
  1. Fix libstd on DragonFly

    mneumann committed Apr 2, 2016
    Following changes:
    * birthtime does not exist on DragonFly
    * errno: __dfly_error is no more. Use #[thread_local] static errno.
    * clock_gettime expects a c_ulong (use a type alias)
    These changes are required to build DragonFly snapshots again.
Commits on Apr 2, 2016
  1. Prefix jemalloc on DragonFly to prevent segfaults.

    mneumann committed Apr 2, 2016
    Similar to commits ed01545 (iOS)
    and e3b414d (Android)
Commits on Feb 22, 2016
  1. Ignore test case on Windows.

    mneumann committed Feb 22, 2016
    Windows is not #[cfg(target_thread_local)] and as such should link
    to the external symbol. But it fails with:
        thread '<main>' panicked at 'assertion failed: `(left == right)` (left: `272246271`, right: `3`)', C:/bot/slave/auto-win-msvc-64-opt/build/src/test/run-pass/
Commits on Feb 21, 2016
  1. Run thread-local-extern-static test only on supported platforms.

    mneumann committed Feb 21, 2016
Commits on Feb 20, 2016
  1. Fix test case. Needs no_mangle and aux-build

    mneumann committed Feb 20, 2016
Commits on Feb 19, 2016
Commits on Jan 12, 2016
  1. Add test case for #[thread_local] on extern statics

    mneumann committed Jan 12, 2016
  2. Recognize #[thread_local] on extern static. Fixes #30795.

    mneumann committed Jan 12, 2016
    This will correctly add the thread_local attribute to the external static
    variable "errno":
        extern {
             static errno: c_int;
    Before this commit, the thread_local attribute is ignored.
Commits on Nov 1, 2015
  1. Use guard-pages also on DragonFly/FreeBSD.

    mneumann committed Nov 1, 2015
    Only tested on DragonFly.
Commits on Sep 5, 2015
  1. DragonFly: Remove -L paths from pre_link_args.

    mneumann committed Sep 5, 2015
    Having -L/usr/local/lib in the linking path by default interferes
    with an already installed version of Rust during building of Rust.
Commits on Sep 2, 2015
  1. Add snapshot for DragonFly BSD

    mneumann committed Sep 2, 2015
Commits on Aug 30, 2015
  1. fixes #27124 for DragonFly

    mneumann committed Aug 30, 2015
Commits on Feb 7, 2015
  1. Fix struct passwd and _SC_GETPW_R_SIZE_MAX for DragonFly

    mneumann committed Feb 7, 2015
Commits on Jan 29, 2015
  1. Fix wrong use std::io -> old_io

    mneumann committed Jan 29, 2015
Commits on Jan 18, 2015
  1. Redo Segmented stack support for DragonFly

    mneumann committed Jan 18, 2015
    It got accidentially reverted in 44440e5.
Commits on Jan 8, 2015
  1. Fix destroy assertions in mutex/rwlock/condvar

    mneumann committed Jan 8, 2015
    On DragonFly pthread_{mutex,rwlock,condvar}_destroy() returns EINVAL
    when called on a pthread_{mutex,rwlock,condvar}_t that was just
    initialized via PTHREAD_{MUTEX,RWLOCK,CONDVAR}_INITIALIZER and not used
    in the meantime or initialized via pthread_{mutex,rwlock,condvar}_init().
    Change the code to treat a return value of EINVAL on DragonFly as success.
Commits on Jan 6, 2015
  1. Tuning pthread_key_t type

    mneumann authored and vhbit committed Jan 6, 2015
    Both FreeBSD and DragonFly define pthread_key_t as int, while Linux
    defines it as uint. As pthread_key_t is used as an opaque type and
    storage size of both int and uint are the same, this is rather a
    cosmetic change.
    iOS uses ulong (as OS X) so difference is critical on 64bit platforms.
Commits on Jan 5, 2015
  1. Ensure that LLVM is rebuilt with recent changes

    mneumann committed Jan 5, 2015
Commits on Dec 19, 2014
  1. load_self() needs to be public

    mneumann committed Dec 19, 2014
  2. Several fixes for DragonFly (rebase)

    mneumann committed Dec 19, 2014
Commits on Jul 31, 2014
  1. Fix test suite for DragonFly

    mneumann committed Jul 31, 2014
  2. Fix trailing whitespace

    mneumann committed Jul 31, 2014
Commits on Jul 29, 2014
  1. Port Rust to DragonFlyBSD

    mneumann committed Jul 29, 2014
    Not included are two required patches:
    * LLVM: segmented stack support for DragonFly [1]
    * jemalloc: simple configure patches
Commits on Jan 28, 2013
  1. Slightly optimize read_line()

    mneumann authored and brson committed Jan 25, 2013
    No need to allocate an additional vector. Instead directly push into the
  2. Greatly improve performance for

    mneumann authored and brson committed Jan 25, 2013
    For every call to the read() function the internal buffer was copied
    into a new buffer (minus the bytes copied into the result buffer). When
    the internal buffer is large enough, this severely affects performance,
    especially when read_line() is used which calls read_byte() (which calls
    read()) for each read byte.
    For line oriented I/O this wasn't all that bad, because the internal
    buffers usually never were very big. The effect is much more visible
    once the buffer grows larger.
    Now we always first look into the internal buffer and copy as many bytes
    as possible (and desired) into the result buffer. If we need more, we
    call the socket read function and use the result as the new internal
    buffer, then continue to copy from the (new) internal buffer, and so on.
  3. Convert log(debug, ...) to debug!(...)

    mneumann authored and brson committed Jan 24, 2013
  4. Fix example code

    mneumann authored and brson committed Jan 24, 2013
Commits on Dec 27, 2012
  1. Enhance auto_encode to take number of struct fields

    mneumann committed Dec 27, 2012
    emit_struct and read_struct takes an additional len:uint parameter which tells
    us how many fields the struct we are working on has.
    This is required to implement an Encoder for the msgpack [1] serialization
    format. To serialize a struct with msgpack you have to use arrays and the size
    of the array has to be know before each of the elements are written out. JSON
    as an example doesn't have this problem as it uses '[' and ']' delimiters for
You can’t perform that action at this time.