profile
viewpoint
lzutao lzutao D28DBB1A0E26FEDA Legally break your Rust code.

lzutao/9cc 0

A Small C Compiler

lzutao/acpitool 0

Mirror and changes from Ubuntu acpitool source package

lzutao/advisory-db 0

Security advisory database for Rust crates published through crates.io

lzutao/alex-rustc-demangle 0

Rust symbol demangling

lzutao/api-guidelines 0

Rust API guidelines

lzutao/backtrace-rs 0

Backtraces in Rust

lzutao/bat 0

A cat(1) clone with wings.

lzutao/bench-rust-float-integral 0

Benchmark between different methods to know a f64 value is also an integer

lzutao/blog.rust-lang.org 0

The Rust Programming Language Blog

delete branch lzutao/rustc

delete branch : backtrace-bsd

delete time in 28 minutes

PR closed rust-lang/rust

[do not merge] get build artifact for freebsd S-waiting-on-author

This PR updates backtrace-rs submodule to get the artifact for testing. cc #78184 .

+29 -9

13 comments

7 changed files

lzutao

pr closed time in 28 minutes

pull request commentrust-lang/rust

[do not merge] get build artifact for freebsd

Build artifacts are ok.

lzutao

comment created time in 28 minutes

issue commentrust-lang/rust

All stacktrace lines are "<unknown>" on FreeBSD

Hi, could you (@cutsoy or @stevebob ) use rustup- toolchain-install-master to install this build: 688c68b99d9ece86c9b2389ccaff13c442bcae2e .

stevebob

comment created time in 8 hours

pull request commentrust-lang/rust

[do not merge] get build artifact for freebsd

Build passed! @rustbot modify labels: -S-waiting-on-author +S-waiting-on-review

lzutao

comment created time in 9 hours

push eventlzutao/rustc

Lzu Tao

commit sha 7cd92aa7fd3b57894690ca46fb479fa717a55cfc

unsound

view details

push time in 10 hours

push eventlzutao/backtrace-rs

Lzu Tao

commit sha 5e6bd650b81444c13eaa678f459a786e7b320b5f

typo

view details

Lzu Tao

commit sha 2f5d1b012f07251b7838df49ae03308ede7cbb41

enable backtrace for some BSD OSs

view details

push time in 10 hours

push eventlzutao/rustc

Lzu Tao

commit sha cd7644eb83a6e1f8728cec2044ace4284d384d9b

libc

view details

push time in 10 hours

issue commentziglang/sublime-zig-language

Error after installing via Package Control

I have the same error dialog in Linux amd64. image

rudedogg

comment created time in 11 hours

push eventlzutao/rust-enhanced

Eric Huss

commit sha d80a2f96f8e430251414872f6b0fb16596a18462

Remove print/eprint snippet. This removes the print! and eprint! snippets. They are used much less often (about 5% of the time on crates.io), and often get in the way of wanting to complete the `ln` versions. Snippets aren't really a replacement for full completion, and I think should be reserved for common templates. If the user really wants the non-`ln` version, they can just type it manually, or delete the `ln` after completion. If the user really wants these snippets, they can be added back into their User directory.

view details

bors[bot]

commit sha 2aa11dc7e4ccd47cae439be19ac66c206b13babe

Merge #382 382: Remove print/eprint snippet. r=ehuss a=ehuss This removes the print! and eprint! snippets. They are used much less often (about 5% of the time on crates.io), and often get in the way of wanting to complete the `ln` versions. Snippets aren't really a replacement for full completion, and I think should be reserved for common templates. If the user really wants the non-`ln` version, they can just type it manually, or delete the `ln` after completion. If the user really wants these snippets, they can be added back into their User directory. Closes #375. Co-authored-by: Eric Huss <eric@huss.org>

view details

Eric Huss

commit sha 3738d43cbfb5c8a37d64b524420c8979f3b65295

Update for 1.37

view details

bors[bot]

commit sha 727b68472d110900cd4d8db5fe057e6a153a7a4f

Merge #387 387: Update tests for 1.37 r=ehuss a=ehuss Co-authored-by: Eric Huss <eric@huss.org>

view details

Lzu Tao

commit sha e7b22bb3ed3bc2227e966bbadf5d965aefcd983d

Add unreachable snippet

view details

bors[bot]

commit sha e94feb0cbe207098d36f322abc284908efdb2e03

Merge #389 389: Add unreachable snippet r=ehuss a=lzutao Closes #388 Co-authored-by: Lzu Tao <taolzu@gmail.com>

view details

Eric Huss

commit sha e91bdcbed72d839de35f5f234edc324235872e2d

Update test for change in 1.38 wording.

view details

Eric Huss

commit sha 5262743c5c37af5b6f3b1e4dcb987d32a5bf1ade

Fix bug in how raw string auto-complete worked.

view details

bors[bot]

commit sha 68a0b8f39732c22b9690883d3365d4c0da4f5b9d

Merge #394 394: Update test for change in 1.38 wording. r=ehuss a=ehuss Co-authored-by: Eric Huss <eric@huss.org>

view details

bors[bot]

commit sha c26f254ac63809830eb838d37d2de5c0db2de207

Merge #396 396: Fix bug in how raw string auto-complete worked. r=ehuss a=ehuss Co-authored-by: Eric Huss <eric@huss.org>

view details

Eric Huss

commit sha 126b4cb9f152da16a4235714b7afff0d27730138

Clippy no longer requires nightly.

view details

bors[bot]

commit sha 983121ed18ef6e3bc0f0cc68793172ccd0c6d7cc

Merge #395 395: Clippy no longer requires nightly. r=ehuss a=ehuss Co-authored-by: Eric Huss <eric@huss.org>

view details

Eric Huss

commit sha ce5bb8b457479878f4a56563386ba09eab584e52

Next/prev jump to end of span. This changes the next/prev commands to jump to the end of a message span instead of the beginning. When using inline phantoms, jumping to the beginning can be hard to see the message for a multi-line message. I've flip-flopped over time which I like better. I've been using "end" for a while now, and it seems to work better for me. If anyone objects, we can always add a config setting. This also changes how the test works, since the old test didn't handle this new format very well.

view details

bors[bot]

commit sha 1b221c9a1d36eeb43537254eba7372766fd78d03

Merge #397 397: Next/prev jump to end of span. r=ehuss a=ehuss This changes the next/prev commands to jump to the end of a message span instead of the beginning. When using inline phantoms, jumping to the beginning can be hard to see the message for a multi-line message. I've flip-flopped over time which I like better. I've been using "end" for a while now, and it seems to work better for me. If anyone objects, we can always add a config setting. This also changes how the test works, since the old test didn't handle this new format very well. Co-authored-by: Eric Huss <eric@huss.org>

view details

Eric Huss

commit sha 950306a950d98ed0b05a712cd2cd54a70f2c68a9

Fix travis CI. (#404)

view details

Eric Huss

commit sha 4641e0d5f7317a7d92bd4a40459828961948f23a

Update tests for 1.38 wording changes. (#405)

view details

Eric Huss

commit sha e2c35b0c0d65a14e92e141e6cb99f95862ad6f1d

Syntax: Better error recovery in generics.

view details

Eric Huss

commit sha 62b1e49bd8e4be8ee834799fac8745faeafaa54e

Update test messages for 1.39. (#409)

view details

Eric Huss

commit sha 5acd608ca292bb3529632c5136cfe980ca6435bb

Syntax: Better error recovery in generics. (#410)

view details

Eric Huss

commit sha d2a574fc76253bd520602cb5cea44672b241b18a

Add bitwise and/or assignment tokens.

view details

push time in 11 hours

issue commentrust-lang/rust

while let doesn't work as expected with mutex

You could also use try_lock in the second call: lock.try_lock().unwrap().push(x + 1);. This will make the code panic instead of dead lock.

hicqu

comment created time in 12 hours

issue commentrust-lang/rust

while let doesn't work as expected with mutex

Yeah, but still it is a programming bug rather than a compiler bug. Rust makes no promise about deadlock. The problem is:

  • in line 5, you lock the mutex in white let, the lock is held until end of while loop. So in line 10, you relock the mutex, which is still held, so it the current thread is blocked.

The working code is:

use std::sync::Mutex;

fn main() {
    let lock = Mutex::new(vec![1; 10]);
    let mut inner = lock.lock().unwrap();
    while let Some(x) = inner.pop() {
        if x != 1 {
            break;
        }
        inner.push(x + 1);
        println!("the lock works as expected");
    }
}
hicqu

comment created time in 12 hours

issue commentrust-lang/rust

while let doesn't work as expected with mutex

This is an infinite loop, not a Rust compiler bug. Equivalent code without mutex:

fn main() {
    let mut lock = vec![1; 10];
    while let Some(x) = lock.pop() {
        lock.push(x);
        println!("the lock works as expected");
    }
}
hicqu

comment created time in 13 hours

issue commentrust-lang/rust

Unexpected truncated boolean when debug printing with limited float precision.

@rustbot modify labels: -C-bug

CasperN

comment created time in 13 hours

push eventlzutao/rustc

Lzu Tao

commit sha 8b1c607f73807647af6111c58021ce7b8ccf78c8

fixup! one libc

view details

push time in 19 hours

push eventlzutao/rustc

Lzu Tao

commit sha 5f08588e9d1c47c6096ab0364903636bbd334349

one libc

view details

push time in 19 hours

push eventlzutao/rustc

Lzu Tao

commit sha 762f58cbdfd0c6c501559b344282e095bbfa1a42

fixup! libc

view details

push time in 19 hours

push eventlzutao/rustc

Lzu Tao

commit sha 53d3f4e8545f3445b4866922c6f9890868ba4172

up bt

view details

push time in 19 hours

push eventlzutao/backtrace-rs

Lzu Tao

commit sha 0686f82e3017db0b825571cf4a1f665feaf49198

enable backtrace for some BSD OSs

view details

push time in 19 hours

push eventlzutao/rust-libc

Yuki Okushi

commit sha 2854518a628fe13c1728d9dee5c475402a0718a8

Release 0.2.80

view details

bors

commit sha ba4dfc28e5b85d0ea061af2fd1e82f0e5213ca8e

Auto merge of #1959 - JohnTitor:new-release, r=JohnTitor Release 0.2.80

view details

Lzu Tao

commit sha ceca299aa71268c6d4bb45fa3c2da05b06b9f12c

Add dl_iterate_phdr for freebsd

view details

Lzu Tao

commit sha 0ac9da44b7c96b381295ebdebec85d35b18dd7bf

Add dl_iterate_phdr for netbsd

view details

Lzu Tao

commit sha a2e86140b8f1417798948ae14977f401edb95911

Add dl_iterate_phdr for openbsd

view details

Lzu Tao

commit sha 86cd7385ec9b2a5be4d3fce2f1faeb9c7b7934f3

Make tests for bsd passed * Include some header files * Ingore tests for p_type field of `Elf*_Phdr` because of conflicting with p_type macro from resolve.h

view details

Lzu Tao

commit sha be071756f236525cdeaa3ca01f73b99941d85c18

fixup! Add dl_iterate_phdr for freebsd

view details

Lzu Tao

commit sha 624f53143a942e45b1f50d9690191e2543db8ef8

fixup! Add dl_iterate_phdr for openbsd

view details

push time in 20 hours

push eventlzutao/rust-libc

George Hopkins

commit sha 2a212c84fb24aa17283af5bb87ff60f4fdc5affd

linux: Add definitions for Multipath TCP We leave IPPROTO_MAX as is for the time being. However, in recent kernel releases IPPROTO_MAX is actually higher and reflects the addition of IPPROTO_MPTCP.

view details

Yuki Okushi

commit sha b4f8191689119cd63908d18616e1b8cbc923999c

Unpin the `cc` crate version

view details

brian-cook

commit sha e90e708724a67b00d1940e78779e1e2791a1dd63

Bring the MUSL version of siginfo_t up-to-date.

view details

bors

commit sha 80b3a518453734ad517f613b6463c4c29707fa29

Auto merge of #1954 - JohnTitor:newer-cc, r=JohnTitor Unpin the `cc` crate version Fixes #1933

view details

bors

commit sha 7b0b5f8d1e61df34956ab87dc4db077d6ce05eac

Auto merge of #1955 - gremlin:update-musl-siginfo, r=JohnTitor Bring the MUSL version of siginfo_t up-to-date. **Background** As far as I can tell, the [current MUSL version of `siginfo_t`](https://git.musl-libc.org/cgit/musl/tree/include/signal.h#n97) includes fields like [`si_pid`](https://git.musl-libc.org/cgit/musl/tree/include/signal.h#n108) and [`si_uid`](https://git.musl-libc.org/cgit/musl/tree/include/signal.h#n109). **Change** This update unifies `siginfo_t` support between GNU and MUSL.

view details

George Hopkins

commit sha 7f2619fdf93581a2822a3f63035e05f55d0df8be

Apply suggestions from code review Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>

view details

bors

commit sha e0a4fb03978eceb295a91cea341e66b6163b56fd

Auto merge of #1902 - george-hopkins:mptcp, r=JohnTitor linux: Add definitions for Multipath TCP The Linux kernel recently gained support for [Multipath TCP](https://en.wikipedia.org/wiki/Multipath_TCP), a protocol which builds upon TCP. This patch adds `IPPROTO_MPTCP` to open new sockets and `TCP_ULP` to query the upper layer protocol of traditional TCP sockets (which is set to `mptcp` for all underlying connections) Source: [tcp: Define IPPROTO_MPTCP](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=faf391c3826cd29feae02078ca2022d2f912f7cc) cc #1896

view details

Yuki Okushi

commit sha ae193eaae0888d08891e0fc9dce9ff49310fe110

Allow attributes in `f!` and related macros

view details

Yuki Okushi

commit sha d371bdcc1ec3e8446395f376468ee296070f75a4

Fix `deprecated` attribute for `__error`

view details

Yuki Okushi

commit sha 1a876755d21d944ace85026fb826f7494fc1c9be

Revert "Skip some tests for `mips64(el)-unknown-linux-gnuabi64`" This reverts commit 7aa60269ae6cecd01831f5ec62d8c582e24de4fd.

view details

Yuki Okushi

commit sha 003d6effe60296270f38d0d039f83fa8880392cc

Revert "Disable libc-test for MIPS64 for now" This reverts commit 6e719f77359d50a843ed0dcde1316b55205848ff.

view details

bors

commit sha 229b10983a551cb4dd4d07b4aae69e38bc10aa54

Auto merge of #1941 - JohnTitor:mips64, r=JohnTitor Revive tests for MIPS64

view details

Yuki Okushi

commit sha e471884df55e1da9bf55eb8a158b15a758d5c954

Add a deprecation note to `time_t` on musl

view details

Yuki Okushi

commit sha d40c7ebdf6687e03bd1eb76ad0f9aea424a63e0c

Allow deprecated `time_t` on musl

view details

bors

commit sha 6ca151e67889c1f719bc7bc8e0ca3d88aa93aebd

Auto merge of #1956 - JohnTitor:time64, r=JohnTitor Add a deprecation note to `time_t` on musl cc #1848

view details

bors

commit sha 2d0d4747c4490b149ec17cf6646553a802219c5a

Auto merge of #1958 - JohnTitor:fix-dragonfly-build, r=nagisa Allow `deprecated` attribute on `f!` macros to fix dragonfly build Fixes #1957 cc `@nagisa` I think this should resolve the build :)

view details

Yuki Okushi

commit sha 2854518a628fe13c1728d9dee5c475402a0718a8

Release 0.2.80

view details

bors

commit sha ba4dfc28e5b85d0ea061af2fd1e82f0e5213ca8e

Auto merge of #1959 - JohnTitor:new-release, r=JohnTitor Release 0.2.80

view details

Lzu Tao

commit sha ceca299aa71268c6d4bb45fa3c2da05b06b9f12c

Add dl_iterate_phdr for freebsd

view details

Lzu Tao

commit sha 0ac9da44b7c96b381295ebdebec85d35b18dd7bf

Add dl_iterate_phdr for netbsd

view details

push time in 20 hours

pull request commentrust-lang/rust

[do not merge] get build artifact for freebsd

dropped the non-freebsd job from the try builder @rustbot modify labels: +S-waiting-on-review -S-waiting-on-author

lzutao

comment created time in 21 hours

push eventlzutao/rustc

Jonas Schievink

commit sha 13a5067061c14875bf1deda44a4740c08e872eb9

Unignore test

view details

Jonas Schievink

commit sha 0558e6eb9337960a1415e037ae7a44e3aa947479

bootstrap: fall back to auto-detected CXX This allows us to use the C++ compiler configured via `CXX_target_triple` env vars

view details

Jonas Schievink

commit sha 77a7ccf869db577c0d7262965c0ecdd1f50a49b8

bootstrap: configure native toolchain for run-make This allows moving a lot of run-make-fulldeps tests to just run-make tests, and allows running those on target-only platforms

view details

Jonas Schievink

commit sha e36de6b2a1acc2826482f44a46b90678baccaaff

Move issue-36710 test to run-make Somewhat hacky to reuse `tools.mk` like this, we should probably migrate most of them now

view details

Jonas Schievink

commit sha a67160494cb9305e72aae5b367d9187f2f37e572

Ignore test on WASM

view details

Jonas Schievink

commit sha d7c7649f5b4688e73046d45293e4d046ade59135

ignore-thumb

view details

Jonas Schievink

commit sha 60594b1f0fd0fa69959e4fe56a61c01031916fe2

Ignore on 32-bit targets

view details

Ralf Jung

commit sha 22026538931f7349a1b78d7644b0288ff3282db2

Miri engine validity check: simplify code with 'matches!' and improve a comment a bit

view details

Ralf Jung

commit sha fcaf2338da4456f2b3d1ccf3e127f9028c80a2cc

Miri engine interning: improve comments, and entirely skip ZST

view details

Florian Warzecha

commit sha 3948b054dc8e598b83a194056dc4d3a0852dc79e

add rustc_allow_const_fn_unstable attribute allow_internal_unstable is currently used to side-step feature gate and stability checks. While it was originally only meant to be used only on macros, its use was expanded to const functions. This commit prepares stricter checks for the usage of allow_internal_unstable (only on macros) and introduces the rustc_allow_const_fn_unstable attribute for usage on functions. See rust-lang/rust#69399

view details

Florian Warzecha

commit sha 05f4a9a42abbbdb64d3ec4ed0ae6883c10c66e3f

switch allow_internal_unstable const fns to rustc_allow_const_fn_unstable

view details

Florian Warzecha

commit sha 7258740509877ff97c32c52cea7ac236ba80c51a

validate allow_internal_unstable target Adds a check to make sure `#[allow_internal_unstable]` can be applied only to macro definitions.

view details

Florian Warzecha

commit sha 3a63bf02998f7b5e040a4b87e049d03ddd144f74

validate rustc_allow_const_fn_unstable targets Adds a check to make sure `#[rustc_allow_const_fn_unstable]` can be applied only to functions.

view details

Yuki Okushi

commit sha 3a58ad91f68c0715301b9f0272954a18b72eb6bb

Update `compiler_builtins` to 0.1.36

view details

Stein Somers

commit sha 2c5f64f683c5c3c029afafc6a0a490163a4b0d64

BTreeMap/Set: merge the implementations of MergeIter

view details

Aaron Hill

commit sha d3369e621022e23bfd65dfe48ae669af4a380ac5

Bump LLVM for DeadArgElim fix Fixes #76387 Pulls in https://github.com/rust-lang/llvm-project/pull/82

view details

Tim

commit sha 7d30c53656395695a2c638694f0a13c3ac743ce8

Bump backtrace-rs to enable Mach-O support on iOS.

view details

Florian Warzecha

commit sha 83fbdddc99f5fc4f76e144c6d86184dd09169287

ignore #[rustc_allow_const_fn_unstable] for macro expansion Recognition for `rustc_allow_const_fn_unstable` attribute was errorneously added in 05f4a9a42abbbdb64d3ec4ed0ae6883c10c66e3f.

view details

Florian Warzecha

commit sha 13b481b247fe472ccf75b4fb13f3a46ac8f9ecaf

rename allow_internal_unstable() to rustc_allow_const_fn_unstable() in rustc_mir Followup rename from 05f4a9a42abbbdb64d3ec4ed0ae6883c10c66e3f, which introduced `#[rustc_allow_const_fn_unstable]` for `const fn`s.

view details

Florian Warzecha

commit sha ac2c599f23d6c8b5d3413febde4c6febff68062e

fix validation for rustc_allow_const_fn_unstable targets The validation was introduced in 3a63bf02998f7b5e040a4b87e049d03ddd144f74 without strict validation of functions, e. g. all function types were allowed. Now the validation only allows `const fn`s.

view details

push time in 21 hours

PR opened rust-lang/rust

[do not merge] get build artifact for freebsd

This PR updates backtrace-rs submodule to get the artifact for testing. cc #78184 .

+81 -65

0 comment

5 changed files

pr created time in a day

push eventlzutao/rustc

Lzu Tao

commit sha 385c7521d5e1a81014cd32396fa2576582cf5442

Update backtrace for bsd

view details

Lzu Tao

commit sha d73b2c5a5b1e054d8edd2ab24074e3a43f71d88f

[dnm] add freebsd to pr and try builds

view details

push time in a day

push eventlzutao/backtrace-rs

Lzu Tao

commit sha 1f97b4470e550b64c7bceb5c18cb43c33c305953

enable backtrace for some BSD OSs

view details

push time in a day

push eventlzutao/rustc

Lzu Tao

commit sha dd21c73ae32557e95f8515bc82462631cc10cab1

Update backtrace for bsd

view details

Lzu Tao

commit sha 5f3f3388c26515bb1f9789574fef0ceebf56e0d1

[dnm] add freebsd to pr and try builds

view details

push time in a day

push eventlzutao/backtrace-rs

Lzu Tao

commit sha 9984808b274d09b743b7f58c3b5ca4aa2f66984e

enable backtrace for some BSD OSs

view details

push time in a day

create barnchlzutao/rustc

branch : backtrace-bsd

created branch time in a day

delete branch lzutao/backtrace-rs

delete branch : wut

delete time in a day

create barnchlzutao/backtrace-rs

branch : bsd

created branch time in a day

startedRobSis/zsh-completion-generator

started time in a day

push eventlzutao/rust-libc

George Hopkins

commit sha 2a212c84fb24aa17283af5bb87ff60f4fdc5affd

linux: Add definitions for Multipath TCP We leave IPPROTO_MAX as is for the time being. However, in recent kernel releases IPPROTO_MAX is actually higher and reflects the addition of IPPROTO_MPTCP.

view details

Yuki Okushi

commit sha b4f8191689119cd63908d18616e1b8cbc923999c

Unpin the `cc` crate version

view details

brian-cook

commit sha e90e708724a67b00d1940e78779e1e2791a1dd63

Bring the MUSL version of siginfo_t up-to-date.

view details

bors

commit sha 80b3a518453734ad517f613b6463c4c29707fa29

Auto merge of #1954 - JohnTitor:newer-cc, r=JohnTitor Unpin the `cc` crate version Fixes #1933

view details

bors

commit sha 7b0b5f8d1e61df34956ab87dc4db077d6ce05eac

Auto merge of #1955 - gremlin:update-musl-siginfo, r=JohnTitor Bring the MUSL version of siginfo_t up-to-date. **Background** As far as I can tell, the [current MUSL version of `siginfo_t`](https://git.musl-libc.org/cgit/musl/tree/include/signal.h#n97) includes fields like [`si_pid`](https://git.musl-libc.org/cgit/musl/tree/include/signal.h#n108) and [`si_uid`](https://git.musl-libc.org/cgit/musl/tree/include/signal.h#n109). **Change** This update unifies `siginfo_t` support between GNU and MUSL.

view details

George Hopkins

commit sha 7f2619fdf93581a2822a3f63035e05f55d0df8be

Apply suggestions from code review Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>

view details

bors

commit sha e0a4fb03978eceb295a91cea341e66b6163b56fd

Auto merge of #1902 - george-hopkins:mptcp, r=JohnTitor linux: Add definitions for Multipath TCP The Linux kernel recently gained support for [Multipath TCP](https://en.wikipedia.org/wiki/Multipath_TCP), a protocol which builds upon TCP. This patch adds `IPPROTO_MPTCP` to open new sockets and `TCP_ULP` to query the upper layer protocol of traditional TCP sockets (which is set to `mptcp` for all underlying connections) Source: [tcp: Define IPPROTO_MPTCP](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=faf391c3826cd29feae02078ca2022d2f912f7cc) cc #1896

view details

Yuki Okushi

commit sha ae193eaae0888d08891e0fc9dce9ff49310fe110

Allow attributes in `f!` and related macros

view details

Yuki Okushi

commit sha d371bdcc1ec3e8446395f376468ee296070f75a4

Fix `deprecated` attribute for `__error`

view details

Yuki Okushi

commit sha 1a876755d21d944ace85026fb826f7494fc1c9be

Revert "Skip some tests for `mips64(el)-unknown-linux-gnuabi64`" This reverts commit 7aa60269ae6cecd01831f5ec62d8c582e24de4fd.

view details

Yuki Okushi

commit sha 003d6effe60296270f38d0d039f83fa8880392cc

Revert "Disable libc-test for MIPS64 for now" This reverts commit 6e719f77359d50a843ed0dcde1316b55205848ff.

view details

bors

commit sha 229b10983a551cb4dd4d07b4aae69e38bc10aa54

Auto merge of #1941 - JohnTitor:mips64, r=JohnTitor Revive tests for MIPS64

view details

Yuki Okushi

commit sha e471884df55e1da9bf55eb8a158b15a758d5c954

Add a deprecation note to `time_t` on musl

view details

Yuki Okushi

commit sha d40c7ebdf6687e03bd1eb76ad0f9aea424a63e0c

Allow deprecated `time_t` on musl

view details

bors

commit sha 6ca151e67889c1f719bc7bc8e0ca3d88aa93aebd

Auto merge of #1956 - JohnTitor:time64, r=JohnTitor Add a deprecation note to `time_t` on musl cc #1848

view details

bors

commit sha 2d0d4747c4490b149ec17cf6646553a802219c5a

Auto merge of #1958 - JohnTitor:fix-dragonfly-build, r=nagisa Allow `deprecated` attribute on `f!` macros to fix dragonfly build Fixes #1957 cc `@nagisa` I think this should resolve the build :)

view details

push time in 2 days

delete branch lzutao/libc

delete branch : auto-libc

delete time in 2 days

delete branch lzutao/libc

delete branch : try

delete time in 2 days

delete branch lzutao/libc

delete branch : gh-pages

delete time in 2 days

delete branch lzutao/libc

delete branch : mirrors-cdn

delete time in 2 days

delete branch lzutao/libc

delete branch : azure-pipelines

delete time in 2 days

create barnchlzutao/libc

branch : i78184

created branch time in 2 days

push eventlzutao/libc

Lzu Tao

commit sha fd8bb24d38b3b3e7ebac6aaad23873c4b9240cd4

Make tests for bsd passed * Include some header files * Ingore tests for p_type field of `Elf*_Phdr` because of conflicting with p_type macro from resolve.h

view details

push time in 2 days

push eventlzutao/libc

Lzu Tao

commit sha 3e869eed05d8c412f391394f74e195d3c75724f9

Make tests for bsd passed * Include some header files * Ingore tests for p_type field of `Elf*_Phdr` because of conflicting with p_type macro from resolve.h

view details

push time in 2 days

push eventlzutao/libc

Lzu Tao

commit sha efd5b4295084bbdabc2b4d2cd11b4ff00050023b

Make tests for bsd passed * Include some header files * Ingore tests for p_type field of `Elf*_Phdr` because of conflicting with p_type macro from resolve.h

view details

push time in 2 days

pull request commentrust-lang/libc

Add dl_iterate_phdr to some BSD OSes

Done. CI should be green!

lzutao

comment created time in 2 days

push eventlzutao/libc

Lzu Tao

commit sha 5519bbecf27a91c9ec52600687f424cc00ab81dc

Add dl_iterate_phdr for freebsd

view details

Lzu Tao

commit sha 5e48129920b7b821e1e7cf7306c3997e755a24af

Add dl_iterate_phdr for netbsd

view details

Lzu Tao

commit sha dbf50c95da7ff8d34683bf25d8862ebfe9e1c7a8

Add dl_iterate_phdr for openbsd

view details

Lzu Tao

commit sha 2058e373640d949e3d3beb640e1909fb72f67def

Make tests for bsd passed * Include some header files * Ingore tests for p_type field of `Elf*_Phdr` because of conflicting with p_type macro from resolve.h

view details

push time in 2 days

push eventlzutao/libc

Lzu Tao

commit sha 456f1bf69402d21bf18bdd21ee51de30d4f70b4b

mut

view details

push time in 2 days

push eventlzutao/libc

Lzu Tao

commit sha 9c6d6b072d7cd917ba5bac6f663f1c2bda886815

t

view details

push time in 2 days

push eventlzutao/libc

Lzu Tao

commit sha b6934d7ae06c4350dd56d1dfc9f1c315e9764e9f

t

view details

push time in 2 days

pull request commentrust-lang/rust

Formally deprecate the constants superseded by RFC 2700

The libs team is quite not in favor of deprecating old integer module constants. The recent discussion I can find on zulip: https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/Deprecate.20.7Binteger.7D.3A.3Amax_value.20and.20min_value.20methods.

bstrie

comment created time in 2 days

pull request commentrust-lang/libc

Add dl_iterate_phdr to some bsd OSes

There is overlapping C macro expansion: https://c.godbolt.org/z/zT9PE1

Waiting for helping ! :)

lzutao

comment created time in 2 days

push eventlzutao/libc

Lzu Tao

commit sha 330a7288ff1b16716a87ad1a6bead7b634214afa

t

view details

push time in 2 days

push eventlzutao/libc

Lzu Tao

commit sha d84aa14fa7e430bc640c16af957bb2653abd6850

t

view details

push time in 3 days

push eventlzutao/libc

Lzu Tao

commit sha 7cdd0796f12ed539c4a5c21849637181ddcbcdd2

tests

view details

push time in 3 days

PR opened rust-lang/libc

Add dl_iterate_phdr to some bsd OSes

Adding ... for freebsd, openbsd and netbsd: #1066 cc https://github.com/rust-lang/backtrace-rs/issues/325

+234 -1

0 comment

4 changed files

pr created time in 3 days

push eventlzutao/libc

Vickenty Fesunov

commit sha 1c5dab1ebb054164f0c441a2725917a39fd5bd98

Fix CI for demoted targets i686-apple-darwin and other 32bit Apple targets ware demoted to tier-3 due to lack of support from the vendor, and is no longer available from rustup for nightly, shortly beta. DockerOSX32 job was removed as it only tests on nightly. BuildChannelsOSX job will continue testing on these targets on older compilers (stable and below).

view details

Vickenty Fesunov

commit sha 9358be36d65458fca800c25c2a6e389c92b4d572

Remove unnecessary parenthesis This triggers a warning on a recent nightly, which in turn breaks CI due to `#![deny(warnings)]` in libc-test/build.rs

view details

Vickenty Fesunov

commit sha 828e9b547f74989e70e0d90f7992cdf1d06d81cb

Use explicit path for GNU find Recent build of vs2017-win2016 image does not have GNU find in path. Instead, Windows built-in version was invoked, causing `Find GCC libraries` Azure CI stage to fail.

view details

Vickenty Fesunov

commit sha 2dc2a39104e68974bcb4ef6b1bd1bc092ebf8283

Cross-compile to tier3 apple targets

view details

Yuki Okushi

commit sha 40f80c666080fac4b4ca96ce392a4457a68e7022

Upgrade freebsd-11 stable

view details

Yuki Okushi

commit sha 8a7b02cc9e83b79c8bf1d0fbab28859dde7dfe6b

Merge pull request #1647 from vickenty/osx Fix CI

view details

Vickenty Fesunov

commit sha 1c012aec1896289363a37812eb28eb364e5ca493

Add memmem memmem is a non-standard extension, first added in GNU libc and later ported to other systems. Support for it is non-uniform, thus it was only added to platforms that seem to support it.

view details

Marco A L Barbosa

commit sha 1914ae894e1f54909425292f4af71d14f1eb29c1

Add qsort, qsort_r and bsearch

view details

ru

commit sha 6a04eb97ebbe569ef615685c61db967c7ce6129c

structs nlmsghdr, nlmsgerr and nlattr added to linux mips musl target

view details

ru

commit sha 1d43891df2e55926e6d28d8af9254b135ce7bab2

structs nlmsghdr, nlmsgerr and nlattr added to linux mips64 musl target

view details

ru

commit sha 5472ccded8e88e84f2fa7c8e43971a1537f24acf

structs nlmsghdr, nlmsgerr and nlattr added to linux arm and x86 musl targets

view details

Yuki Okushi

commit sha ec9f22974e6a3d21ef979b55e1a8951919c5fe01

Switch macOS images to 10.14

view details

Yuki Okushi

commit sha 46c8eccb22fef9531e579a57be92983cf9a39762

Merge pull request #1620 from malbarbo/qsort Add qsort, qsort_r and bsearch

view details

Noah Gold

commit sha 92d47c8a530bd58f770b08667596b07d6cc14e05

Add FFI bindings for libc's gmttime_s.

view details

Markus Reiter

commit sha b1d6c663d3580fdf9af98c49bfe7d8770a3196db

Add Newlib clock constants and functions.

view details

Yuki Okushi

commit sha b3bbf1acd4a0dddc6bf5a050537625502be34411

Merge pull request #1665 from 0xngold/add_gmttime Add FFI bindings for libc's gmttime_s.

view details

Noah Gold

commit sha e4494e49d728a1bf50774ce71c4a8cd1353cb975

Bump to 0.2.67. Includes bindings for the libc function gmtime_s.

view details

Yuki Okushi

commit sha 89a8e048bee869d31dde0ac464e6663e27fe22c7

Merge pull request #1639 from vickenty/memmem Add memmem

view details

Yuki Okushi

commit sha 23caafdfec968bf5d8acb341d95cdcffad18821b

Merge pull request #1666 from 0xngold/bump_version Bump to 0.2.67.

view details

zonyitoo

commit sha 53a2e7ed570604fdafe8a8aff53e2704736d4557

Add TCP FastOpen support for macOS fix #1632

view details

push time in 3 days

create barnchlzutao/libc

branch : bsd-dl_iterate_phdr

created branch time in 3 days

issue openedrust-lang/libc

Update CI name in contributing.md

Just like #1445 but now for github actions instead of azure ci.

created time in 3 days

delete branch lzutao/cargo-bisect-rustc

delete branch : 112-off-by-one

delete time in 3 days

issue commentrust-lang/backtrace-rs

Gimli doesn't support iOS

Fixed by #378 ?

alexcrichton

comment created time in 4 days

issue commentrust-lang/rust

rustc doesnt correctly optimise trivial multliplication with 0.0 for float types

Same optimizations as C++: https://rust.godbolt.org/z/4YveEs. I think the generated asm is appropriate.

TheVova

comment created time in 4 days

startedantoyo/rustc_codegen_gcc

started time in 4 days

pull request commentrust-lang/rust

Stabilize slice::strip_prefix and slice::strip_suffix

@KodrAus std::str::pattern::Pattern is str oriented, .i.e. it only supports string type. There are plans to generalize Pattern to other types. But those are not implemented.

ijackson

comment created time in 4 days

delete branch lzutao/dirs

delete branch : rm-cfgif

delete time in 4 days

pull request commentxdg-rs/dirs

Remove cfg-if dependency

bors r+

lzutao

comment created time in 4 days

push eventlzutao/dirs

Lzu Tao

commit sha 753c82506d133a9c879e935659af0f3ba8b772d2

Remove cfg_if dependency Manually expand the cfg checks doesn't create more works. Also modules in cfg_if! are ignored by cargo fmt.

view details

Lzu Tao

commit sha cae39b415ac31b8b4593d31cb0763fcb5cf65769

rustfmt all the things It turns out that importing modules in cfg_if! macro makes `cargo fmt` ignore them.

view details

Lzu Tao

commit sha f87b7ff57a1b8c8c9b4c28af9d24473e0833c100

Use permanent link for reference

view details

push time in 4 days

push eventlzutao/dirs

Lzu Tao

commit sha baf6a87ba9287706d210b0f334f9af59e5fec3d8

Remove cfg_if dependency Manually expand the cfg checks doesn't create more works. Also modules in cfg_if! are ignored by cargo fmt.

view details

Lzu Tao

commit sha 8deb0738f48ae1d240cd365933216f3dfe7a203a

rustfmt all the things It turns out that importing modules in cfg_if! macro makes `cargo fmt` ignore them.

view details

push time in 4 days

push eventlzutao/dirs

Lzu Tao

commit sha a60ee528fc5ba6f45ca72a49e3381bb6d2afaf08

1

view details

push time in 4 days

push eventlzutao/dirs

Lzu Tao

commit sha 35be84cd0841448cd2c5fbaa5f1b0f33eb331a70

Remove cfg_if dependency Manually expand the cfg checks doesn't create more works. Also modules in cfg_if! are ignored by cargo fmt.

view details

Lzu Tao

commit sha 4691d97039ec2d8436f1b7dce159e9ae1ba4ecce

rustfmt all the things It turns out that importing modules in cfg_if! macro makes `cargo fmt` ignore them.

view details

push time in 4 days

PR opened xdg-rs/dirs

Remove cfg-if dependency
+372 -236

0 comment

14 changed files

pr created time in 4 days

create barnchlzutao/dirs

branch : rm-cfgif

created branch time in 4 days

issue commentrust-lang/rust

All stacktrace lines are "<unknown>" on FreeBSD

@cutsoy You might want to file another PR to update backtrace-rs submodule in this repo.

stevebob

comment created time in 4 days

push eventlzutao/cargo-bisect-rustc

Lzu Tao

commit sha 8024b053fbe527a7eabd0818bc61540a952e367b

Some premature optimizations * Precompute the vector size. * Move repeatedly sorting out of loop.

view details

Lzu Tao

commit sha 48e297defc814781e4b53ec1a6722e3d98868130

Use shorter method to calculate successor or previous date

view details

Lzu Tao

commit sha ffda45e931423d496c8648370e85a2c15c9abdb2

Calculate current nightly date only once

view details

Camelid

commit sha cb8bcd1cf69114345bb94ac2039cb1fb3ce87a1a

Release v0.6.0

view details

Santiago Pastorino

commit sha 411deaa87c95ea905e019753552c3ede2dd13db9

Merge pull request #119 from camelid/release-0.6.0 Release v0.6.0

view details

Santiago Pastorino

commit sha b62e45699c74371a0b717ba8aff723fc0f94634d

Merge pull request #116 from lzutao/lazy Calculate current nightly date only once

view details

Santiago Pastorino

commit sha 50e8e29ffd442efc35e455782c883d54b77f1fd1

Merge pull request #115 from lzutao/shorter-date Use shorter method to calculate successor or previous date

view details

Santiago Pastorino

commit sha 9cc74c4af45c6ce774eebd0e43a3d47275acf651

Merge pull request #114 from lzutao/premature Some premature optimizations

view details

Lzu Tao

commit sha a18023a49746447a2d03964a1904def703cc4aa4

Fix an off-by-one error when calculating current nightly date in local

view details

push time in 4 days

pull request commentrust-lang/cargo-bisect-rustc

note that specified commits should be from the master branch

I read the PR description again and I think it is good to merge.

matthiaskrgr

comment created time in 4 days

delete branch lzutao/cargo-bisect-rustc

delete branch : shorter-date

delete time in 4 days

delete branch lzutao/cargo-bisect-rustc

delete branch : premature

delete time in 4 days

delete branch lzutao/cargo-bisect-rustc

delete branch : lazy

delete time in 4 days

issue commentrust-lang/rust

How to optimize http client performance?

The issue trackers is not used for asking questions about crates in ecosystem, but for bugs and feature requests for the compiler.

Please forward your question to <users.rust-lang.org/>, discord or reddit.

flyinmind

comment created time in 4 days

issue commentrust-lang/rust

unreachable pattern not warned when used in sufficiently complex macro / procmacro hack

Can confirm the warning[E0170] doesn't trigger for the code above. The code could be simplify more by remove unused assert: <details>

use futures::{future, select}; // 0.3.6

pub enum Foo {
    Bar,
    Baz,
}

/* this function does produce warnings
fn match_foo(foo: Foo) -> i32 {
    match foo {
       Bar => 1,
        _ => unreachable!("why you do this rust?"),
    }
}
*/

pub async fn asdf(foo: Foo) {
    let mut a = future::ready(4);

    select! {
        // but this doesn't
        a_res = a => match foo {
            Bar => 1,
            _ => 4,
            // _ => unreachable!("why you do this rust?"),
        },
    };
}

fn main() {
    futures::executor::block_on(asdf(Foo::Baz));
}

</details>

@rustbot modify labels: A-lint A-patterns T-compiler

drahnr

comment created time in 4 days

pull request commentrust-lang/cargo-bisect-rustc

Calculate current nightly date only once

It's been two weeks without reviews :| .

lzutao

comment created time in 4 days

issue commentrust-lang/rust

Iterator::skip is not zero-cost in some cases (badly optimized by LLVM)

I have reproduce somewhat in C code by emulating Rust abstraction in C: https://rust.godbolt.org/z/PKqzqW. If my conversion isn't wrong, it seems that GCC is able to optimize most of abstraction than clang.

mateon1

comment created time in 4 days

pull request commentrust-lang/rust

[Performance run] Switch rustc_hash -> ahash

Does ahash pass the std tests ?

jyn514

comment created time in 4 days

issue commentrust-lang/rust

Remove unneeded backtick

We're all agree this is bike-shredding. However, if there is no guideline then the same question/argument will be bring up all over again.

lzutao

comment created time in 4 days

issue commentrust-lang/rust

Remove unneeded backtick

There are some more places in std not use quote "struct" by a backtick pair, for example https://doc.rust-lang.org/nightly/std/slice/struct.IterMut.html. If we insist on quote "struct" as code snippet, there should be a guideline for this documentation type.

I'd like inputs from other docs people: @jyn514 .

lzutao

comment created time in 4 days

Pull request review commentrust-lang/rust

Promote aarch64-unknown-linux-gnu to Tier 1

 Specifically they will each satisfy the following requirements:  target | std | host | notes -------|-----|------|-------+`aarch64-unknown-linux-gnu` | ✓ | ✓ | ARM64 Linux (kernel 4.2, glibc 2.17+) [^missing-stack-probes]

Is mdbook support this link type? Because it seems that github markdown renderer doesn't.

pietroalbini

comment created time in 4 days

PullRequestReviewEvent

issue commentrust-lang/rust

Remove unneeded backtick

From doc context, "struct" is talk about Skip - which is a name/type/nount - not about keyword "struct" itself.

lzutao

comment created time in 4 days

issue commentrust-lang/rust

Remove unneeded backtick

It's both: a noun and a keyword. However, if we insist on using backtick around "struct", which makes it a keyword in the cited doc context, we might want to link to documentation of keyword struct.

lzutao

comment created time in 5 days

issue commentrust-lang/rust

Remove unneeded backtick

Backtick could be used to mark code snippet. But here struct alone is a noun, not a code snippet to me.

lzutao

comment created time in 5 days

issue openedrust-lang/rust

Remove unneeded backtick

https://github.com/rust-lang/rust/blob/6b9fbf212a06944ff23325d2d63215805dc3c6c3/library/core/src/iter/adapters/mod.rs#L2226 image

@rustbot modify labels: E-easy T-doc

created time in 5 days

push eventlzutao/rustc

Mark Rousskov

commit sha 05c9c0ee5dcd935f518db151bee2dc88380fb92f

Modify executable checking to be more universal This uses a dummy file to check if the filesystem being used supports the executable bit in general.

view details

dylni

commit sha 1ff7da6551a7cdf6ace2a9d00e92bbab550334ee

Move `slice::check_range` to `RangeBounds`

view details

dylni

commit sha 1095dcab96d524e700b11edf366d45a0fd173fa0

Fix links

view details

dylni

commit sha eb63168e007058dad4af758faf1dca449c049777

Fix doctests

view details

dylni

commit sha f055b0bb0847ecf08fe452a270faae8324b55b05

Rename method to `assert_len`

view details

Bastian Kauschke

commit sha fd22e87afc9082522bc7b52e32d25d43c64594e6

fix flag computation for `ExistentialPredicate::Projection`

view details

Bastian Kauschke

commit sha 7652b4b1d9cec0ad22f529a4335d05f7d7792521

guard against `skip_binder` errors during FlagComputation

view details

Camelid

commit sha 549f861f7d53811521cf929cf58fb6828a2a88d9

Use correct article in help message for conversion or cast Before it always used `an`; now it uses the correct article for the type.

view details

Camelid

commit sha 094f14c554c3a1f103a5d6778d4b4e131c297f11

Add article after "to" Also added missing backtick in "you can cast" message.

view details

Camelid

commit sha 8a6831a7fd3fc624643b50f494212e0ceaad3c28

Say "doesn't" instead of "wouldn't" in convert message

view details

Dylan MacKenzie

commit sha 77e6c56ab6f108fdbb8acbd176497be9f074af9a

Unify `&mut` and `&raw mut` const-checking errors

view details

Dylan MacKenzie

commit sha c1494d60dbad39c218e7b0825bfe590cc22bf2fa

Bless tests

view details

Alexander Mols

commit sha 8fe61546696b626ecf68ef838d5d82e393719e80

Use posix_spawn() on unix if program is a path Previously `Command::spawn` would fall back to the non-posix_spawn based implementation if the `PATH` environment variable was possibly changed. On systems with a modern (g)libc `posix_spawn()` can be significantly faster. If program is a path itself the `PATH` environment variable is not used for the lookup and it should be safe to use the `posix_spawnp()` method. [1] We found this, because we have a cli application that effectively runs a lot of subprocesses. It would sometimes noticeably hang while printing output. Profiling showed that the process was spending the majority of time in the kernel's `copy_page_range` function while spawning subprocesses. During this time the process is completely blocked from running, explaining why users were reporting the cli app hanging. Through this we discovered that `std::process::Command` has a fast and slow path for process execution. The fast path is backed by `posix_spawnp()` and the slow path by fork/exec syscalls being called explicitly. Using fork for process creation is supposed to be fast, but it slows down as your process uses more memory. It's not because the kernel copies the actual memory from the parent, but it does need to copy the references to it (see `copy_page_range` above!). We ended up using the slow path, because the command spawn implementation in falls back to the slow path if it suspects the PATH environment variable was changed. Here is a smallish program demonstrating the slowdown before this code change: ``` use std::process::Command; use std::time::Instant; fn main() { let mut args = std::env::args().skip(1); if let Some(size) = args.next() { // Allocate some memory let _xs: Vec<_> = std::iter::repeat(0) .take(size.parse().expect("valid number")) .collect(); let mut command = Command::new("/bin/sh"); command .arg("-c") .arg("echo hello"); if args.next().is_some() { println!("Overriding PATH"); command.env("PATH", std::env::var("PATH").expect("PATH env var")); } let now = Instant::now(); let child = command .spawn() .expect("failed to execute process"); println!("Spawn took: {:?}", now.elapsed()); let output = child.wait_with_output().expect("failed to wait on process"); println!("Output: {:?}", output); } else { eprintln!("Usage: prog [size]"); std::process::exit(1); } () } ``` Running it and passing different amounts of elements to use to allocate memory shows that the time taken for `spawn()` can differ quite significantly. In latter case the `posix_spawnp()` implementation is 30x faster: ``` $ cargo run --release 10000000 ... Spawn took: 324.275µs hello $ cargo run --release 10000000 changepath ... Overriding PATH Spawn took: 2.346809ms hello $ cargo run --release 100000000 ... Spawn took: 387.842µs hello $ cargo run --release 100000000 changepath ... Overriding PATH Spawn took: 13.434677ms hello ``` [1]: https://github.com/bminor/glibc/blob/5f72f9800b250410cad3abfeeb09469ef12b2438/posix/execvpe.c#L81

view details

Bastian Kauschke

commit sha 9c302f55bd07a04305dfa2bd815d2559deb8468f

normalize in codegen_fulfill_obligations

view details

Bastian Kauschke

commit sha f0487cee7439f3a4b4c7daec0e7f2a0ccc21053c

normalize substs during inlining

view details

Bastian Kauschke

commit sha 32739a2ff1b7b6e5c1b475341b01f4a499830a84

add regression test

view details

Bastian Kauschke

commit sha ac893b8a02788eec6f6fad0cc89de0177b0c0a50

add test for should_inline incorrect param_env

view details

Mara Bos

commit sha 64839ee00ab4076d797901ddea55f2613c5b75b5

Add Pin::new_static.

view details

Mara Bos

commit sha 390883e888c580d054ab4a2584c851aba50865e9

Make Pin::new_static const.

view details

Joshua Nelson

commit sha bd135674814d74ca6fca3ab79d778ecaaeb02cf5

Allow setting up git hooks from other worktrees

view details

push time in 5 days

issue commentrust-lang/miri

No notification for cronjobs

I see you commented on https://github.community/t/no-email-notification-on-schedule-cron-job-failure/119638/4. Do you want to use that work around ? I could try to set it up for you.

RalfJung

comment created time in 5 days

release xdg-rs/dirs

directories-v2.0.0

released time in 5 days

release xdg-rs/dirs

dirs-v2.0.0

released time in 5 days

issue commentrust-lang/rust

dynlib stopped building on nightly

@rustbot modify labels: E-needs-mcve

otavio

comment created time in 5 days

push eventlzutao/dirs

Lzu Tao

commit sha d3569587625e3769c41fdace8fa8902a8e45fc08

breaking change: Correct behavior of config_dir on macOS

view details

bors[bot]

commit sha eb217d342e54f892c2c9cd26983787c10940de11

Merge #41 41: breaking change: Correct behavior of config_dir on macOS r=Dylan-DPC a=lzutao Although this PR does a breaking change for macOS target only, we have to bump major version after merging this PR. We talked about how we might want to have a migration mechanics for users. But since dirs crate (the one we folked) did the breaking change in v3, and everybody seems to be happy with it, here we are with this PR. Closes #21 Co-authored-by: Lzu Tao <taolzu@gmail.com>

view details

Lzu Tao

commit sha b6f68c0c6261b21fe773cb1c979e7433f1a0cc8d

chore(directories-next): Release 2.0.0

view details

Lzu Tao

commit sha 1e1aae3136f09ae78495a806d3126a95ea0707dd

chore(dirs-next): Release 2.0.0

view details

push time in 5 days

push eventxdg-rs/dirs

Lzu Tao

commit sha b6f68c0c6261b21fe773cb1c979e7433f1a0cc8d

chore(directories-next): Release 2.0.0

view details

Lzu Tao

commit sha 1e1aae3136f09ae78495a806d3126a95ea0707dd

chore(dirs-next): Release 2.0.0

view details

push time in 5 days

created tagxdg-rs/dirs

tagdirectories-v2.0.0

a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows

created time in 5 days

created tagxdg-rs/dirs

tagdirs-v2.0.0

a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows

created time in 5 days

more