1. 29 8月, 2020 2 次提交
  2. 28 8月, 2020 34 次提交
  3. 27 8月, 2020 4 次提交
    • B
      Auto merge of #74941 - dylanmckay:replace-broken-avr-unknown-unknown-target, r=oli-obk · 3d0c847d
      bors 提交于
      [AVR] Replace broken 'avr-unknown-unknown' target with 'avr-unknown-gnu-atmega328' target
      
      The `avr-unknown-unknown` target has never worked correctly, always trying to invoke
      the host linker and failing. It aimed to be a mirror of AVR-GCC's
      default handling of the `avr-unknown-unknown' triple (assume bare
      minimum chip features, silently skip linking runtime libraries, etc).
      This behaviour is broken-by-default as it will cause a miscompiled executable
      when flashed.
      
      This patch improves the AVR builtin target specifications to instead
      expose only a 'avr-unknown-gnu-atmega328' target. This target system is
      `gnu`, as it uses the AVR-GCC frontend along with avr-binutils. The
      target triple ABI is 'atmega328'.
      
      In the future, it should be possible to replace the dependency on
      AVR-GCC and binutils by using the in-progress AVR LLD and compiler-rt support.
      Perhaps at that point it would make sense to add an
      'avr-unknown-unknown-atmega328' target as a better default when
      implemented.
      
      There is no current intention to add in-tree AVR target specifications for other
      AVR microcontrollers - this one can serve as a reference implementation
      for other devices via `rustc --print target-spec-json
      avr-unknown-gnu-atmega328p`.
      
      There should be no users of the existing 'avr-unknown-unknown' Rust
      target as a custom target specification JSON has always been
      recommended, and the avr-unknown-unknown target could never pass the
      linking step anyway.
      3d0c847d
    • I
      Reduce duplicate doc link in error · 3a814f3f
      Ivan Tham 提交于
      Co-authored-by: NJoshua Nelson <joshua@yottadb.com>
      3a814f3f
    • T
      Fix FP in `to_string_in_display` · 04bff176
      Takayuki Nakata 提交于
      Don't emit a lint when `.to_string()` on anything that is not `self`
      04bff176
    • G
      Delay help popup creation to when it's needed · 86e42c27
      Guillaume Gomez 提交于
      86e42c27