1. 05 1月, 2018 5 次提交
    • K
      Rollup merge of #47110 - EdSchouten:cloudabi-tls, r=kennytm · 26d129ce
      kennytm 提交于
      Use the right TLS model for CloudABI.
      
      CloudABI doesn't do dynamic linking. For this reason, there is no need
      to handle any other TLS model than local-exec. CloudABI's C library
      doesn't provide a __tls_get_addr() function to do Dynamic TLS.
      
      By forcing local-exec to be used here, we ensure that we don't generate
      function calls to __tls_get_addr().
      26d129ce
    • K
      Rollup merge of #47033 - EdSchouten:cloudabi-oom, r=kennytm · 016f7f49
      kennytm 提交于
      Disable printing of error message on file descriptor 2 on CloudABI.
      
      As CloudABI is a capability-based runtime environment, file descriptors
      are the mechanism that grants rights to a process. These file
      descriptors may be passed into processes on startup using a utility
      called cloudabi-run. Unlike the POSIX shell, cloudabi-run does not
      follow the UNIX model where file descriptors 0, 1 and 2 represent stdin,
      stdout and stderr. There can be arbitrary many (or few) file descriptors
      that can be provided. For this reason, CloudABI's C library also doesn't
      define STD*_FILENO. liblibc should also not declare these.
      
      Disable the code in liballoc_system that tries to print error messages
      over file descriptor 2. For now, let's keep this function quiet. We'll
      see if we can think of some other way to log this in the future.
      016f7f49
    • K
      Rollup merge of #47030 - ollie27:stab, r=alexcrichton · 63c8e0c8
      kennytm 提交于
      Correct a few stability attributes
      
      * The extra impls for `ManuallyDrop` were added in #44310 which was only stabilised in 1.22.0.
      * The impls for `SliceIndex` were stabilised in #43373 but as `RangeInclusive` and `RangeToInclusive` are still unstable the impls should remain unstable.
      * The `From` impls for atomic integers were added in #45610 but most atomic integers are still unstable.
      * The `shared_from_slice2` impls were added in #45990 but they won't be stable until 1.24.0.
      * The `Mutex` and `RwLock` impls were added in #46082 but won't be stable until 1.24.0.
      63c8e0c8
    • B
      Auto merge of #46907 - varkor:contrib-8, r=nagisa · 8a11b8cd
      bors 提交于
      Allow non-alphabetic underscores in camel case
      
      Certain identifiers, such as `X86_64`, cannot currently be unambiguously represented in camel case (`X8664`, `X86_64`, `X8_664`, etc. are all transformed to the same identifier). This change relaxes the rules so that underscores are permitted between two non-alphabetic characters under `#[forbid(non_camel_case_types)]`. Fixes #34633 and fixes #41621.
      8a11b8cd
    • B
      Auto merge of #46739 - arielb1:simple-loops, r=nikomatsakis · 5e66887f
      bors 提交于
      [needs perf run] Try to improve LLVM pass ordering
      
      Fixes #45466
      5e66887f
  2. 04 1月, 2018 10 次提交
  3. 03 1月, 2018 23 次提交
  4. 02 1月, 2018 2 次提交