senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Masaki Hara (qnighy@qnmd.info)'s status on Monday, 15-Oct-2018 20:23:30 JST Masaki Hara Masaki Hara

    https://internals.rust-lang.org/t/trade-offs-for-adding-new-apis-based-on-compiler-version/8549
    ライブラリがコンパイラバージョンに応じてAPIを提供することの是非について。すでに有名クレートでもその方法がとられているらしい。

    In conversation Monday, 15-Oct-2018 20:23:30 JST from qnmd.info permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: internals.rust-lang.org
      Trade offs for adding new APIs based on compiler version
      from Rust Internals
      Basically, what I’d like to do is brainstorm the trade offs of adding new API items to a library that are based on the version of the compiler building the library. The context in which this has come up is adding various types of support for u128, which was stabilized in Rust 1.26: https://github.com/TyOverby/bincode/issues/250 The idea here would be to do version sniffing in the build.rs, and then add new APIs specifically for u128 automatically for rustc 1.26 or newer. There would be no need...
    • 金具✅ repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.