Ivan Petkov

Results 13 issues of Ivan Petkov

## Motivation Our signal driver over-zealously subscribes to write readiness for the pipe used to wake when signals are delivered. ## Solution Only register for read-readiness. Fixes #4895

A-tokio
M-signal

Define a custom `SpawnError` to be used by `task::Builder` instead of using `io::Error` Refs #4850 Open question: should we have separate errors for `spawn_blocking` and `spawn_local`? Seemed overkill to me...

A-tokio
M-task
R-loom

This is a meta issue tracking the stabilization of `task::Builder`. Outstanding issues to consider: - [x] make `spawn*` methods fallible. Much like `std::thread::Builder::spawn` is a non-panicking alternative to `std::thread::spawn`, applications...

A-tokio
M-runtime
M-task

Originally brought up in https://github.com/ipetkov/crane/discussions/75 Repro flake: https://github.com/shanesveller/axum-rest-example/blob/5e8831b91724f81970204fff877293e2f2ec65d2/flake.nix#L83-L169 Running nix path-info .#docker -r gives: /nix/store/004217z94skkdd664v74aa1a43x1xq7b-cargo-package-aho-corasick-0.7.18 /nix/store/00d196bbncisks5amrximqmia6p6w204-cargo-package-mime-0.3.16 /nix/store/01a5gg965ki1zx34vzl9jk5wz4f4y01b-cargo-package-async-stream-impl-0.3.3 /nix/store/0ap1cxi1l8ax2as9znihmh8w99bdh8ai-cargo-package-which-4.2.5 /nix/store/0gnkg18w8fh6x87w7ywg3qmj05l87r0w-cargo-package-atoi-1.0.0 /nix/store/0kx0m1dyby3q7ngww9x7k1ikdl3h1x60-cargo-package-unicode-normalization-0.1.21 /nix/store/0rgm65ymq6hhkf4b3sy0qqadckkypndv-cargo-package-tokio-1.20.1 /nix/store/0vdzclflbbmlq0y509prp7fn8jv5pl8j-cargo-package-httparse-1.7.1 /nix/store/1269vy9nzw5p170p26i9hkisrbmn4hvd-cargo-package-parking_lot-0.11.2 /nix/store/185dqq2w54qm1qri00ixa7smb1cg5fx9-cargo-package-android_system_properties-0.1.4 /nix/store/1afbvyc3d2r9v8i81iwm8hbnb4lmv3qz-cargo-package-typenum-1.15.0 /nix/store/1gcgis47wk8qxc5ch9frdacwas8jx0n4-cargo-package-sqlformat-0.1.8 /nix/store/1mpj58d7lr0m2h3cz0w716hnl10dm28m-axum-rest-example-customisation-layer /nix/store/1nlhzs2n4h71kmxzk0zimjhj14q0zwyn-cargo-package-paste-1.0.8 /nix/store/1pxc8zaydlbdcxyprlxvs0yd8m4gw36p-cargo-package-async-stream-0.3.3 /nix/store/1v5i6h1407qmhgy6yrjri8kjwpz6445x-cargo-package-tracing-attributes-0.1.22...

bug

Rust 1.64 supports declaring cargo dependencies at the workspace level. We should take those into account when vendoring crates https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html

### What happened? I have an application which uses a multi-threaded tokio runtime. Calling `trace_provider.force_flush()` in our pre-shutdown routine consistently deadlocks the application (since the call never returns). I suspect...

bug
triage:accepted

## Motivation https://blog.rust-lang.org/2024/03/11/crates-io-download-changes.html ## Checklist - [ ] added tests to verify new behavior - [ ] added an example template or updated an existing one - [ ] updated...

Originally discussed in https://github.com/ipetkov/crane/issues/281 The crux of the issue is that we automatically inherit the crate's version attribute (from `Cargo.toml`) as the version of the `buildDepsOnly` derivation. The value is...

enhancement

Sometimes it is useful to create a secondary sub-flake which contains tests and their related dependencies so that they are not included in the top-level flake consumed downstream (i.e. to...

* Split out `StringWrapper::as_str` as `AsStr::as_str`, and require that `StringWrapper: AsStr` * This will allow a more granular distinction between "treat this as a `&str`" and "this needs to support...

enhancement