Xuanwo

Results 1647 comments of Xuanwo

There is an another option that merge `jemallocator-global` features into `jemallocator` (maybe under a feature flag). `jemallocator-global` is simple and no extra deps. I'm willing to take this issue if...

Seems you are using old version of `cmake`, similar issue: https://github.com/rust-lang/cmake-rs/issues/131 `--parallel` requires at least `cmake v3.12`. Can you give your output of `cmake --version` && `cmake --build`?

The minimal reproducible example: ```rust pub const MAX_THREAD_NAME: usize = 16; fn main() { let current_thread = unsafe { libc::pthread_self() }; let mut name = [0_i8; MAX_THREAD_NAME]; let name_ptr =...

It looks like `libc` itself doesn't have musl tests covered... https://github.com/rust-lang/libc/blob/ce3d1a2b86d4856376ea7025838569145eb9dd26/.github/workflows/main.yml#L17-L20

> There is test coverage for musl in rust-libc, but it doesn't help much in this case because the pthread_getname_np test is [disabled](https://github.com/rust-lang/libc/commit/cd99f681181c310abfba742aef11115d2eff03dc#diff-aedce4e8d381f53dae77653609e3174da7ee2a184308251ad33f7a47bebabe14R3417) until the [test environment is updated to...

Oh, I found this workaround: ```shell RUSTFLAGS="-C target-feature=-crt-static" cargo run --target x86_64-unknown-linux-musl ```

或者将 doRESTRequest 暴露出来,允许我们自行构造请求

- For pushing: https://docs.trafficserver.apache.org/en/latest/admin-guide/storage/index.en.html#pushing-an-object-into-the-cache - For removing: https://docs.trafficserver.apache.org/en/latest/admin-guide/storage/index.en.html#pushing-an-object-into-the-cache - For pulling: of course, I can use `GET`. Seems enough for now.

权限也是一个大问题= =