TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rust 1.39

209 pointsby bilalhusainover 5 years ago

4 comments

est31over 5 years ago
An important bugfix in 1.39.0 that wasn&#x27;t mentioned in the release announcement is probably: <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;pull&#x2F;63402" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;pull&#x2F;63402</a><p>It&#x27;s important because unless rustfmt is available, bindgen would put everything onto one line: <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust-bindgen&#x2F;issues&#x2F;1600" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust-bindgen&#x2F;issues&#x2F;1600</a><p>Rustc would generate (unrelated) warnings for the generated code but before the bugfix it&#x27;d print the entire line, hitting the maximum log size limit on CI and causing the build to fail because of that.
评论 #21474641 未加载
评论 #21513465 未加载
Koshkinover 5 years ago
&gt;<p><pre><code> #[cfg(windows)] slice: &amp;[u16] </code></pre> Am I the only one who finds this syntax ugly - to the point of being inappropriate for a general-purpose programming language?
评论 #21475846 未加载
评论 #21475785 未加载
评论 #21476173 未加载
ComputerGuruover 5 years ago
Discussion here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21473259" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21473259</a>
评论 #21473792 未加载
ossworkerrightsover 5 years ago
Time to give this lang a try. Been wanting to build a web assembly large data table mechanism for a while, and rust appears to be an idea candidate from what i read (speed and reliability). Although it could be done using SQLite, i think could be a nice little project for learning Rust.
评论 #21475824 未加载
评论 #21474792 未加载
评论 #21474753 未加载
评论 #21474368 未加载