I would love something like that, but across our whole workspace.
13.06.2025 11:15 β π 3 π 0 π¬ 0 π 0@alexkirsz.bsky.social
engineer @ amo.co
I would love something like that, but across our whole workspace.
13.06.2025 11:15 β π 3 π 0 π¬ 0 π 0needs more liquid glass
11.06.2025 13:47 β π 2 π 0 π¬ 1 π 0If you change that syntax to `#[facet(default(some_func()))]`, rustfmt will also be able to format within the attribute (and you still get RA go-to-def!)
IIRC it won't format the `=` form because it's not valid Rust syntax.
What about "miroir"?
06.04.2025 10:01 β π 1 π 0 π¬ 0 π 0Would love to start seeing better Supermaven integration! For some reason, the Zeta model does very poorly on our codebase, even on repetitive boilerplate code with dozens of examples.
14.03.2025 17:06 β π 0 π 0 π¬ 0 π 0fut1 is polled once, which is enough for it to request a lock on a mutex without actually getting it as it's already locked elsewhere. Once the other lock is dropped, fut2 requests a lock, but will never get it as fut1 is still alive, even if it isn't actively being polled.
25.02.2025 15:26 β π 0 π 0 π¬ 1 π 0Here's a playground example of the issue play.rust-lang.org?%E2%80%94=st...
25.02.2025 15:26 β π 0 π 0 π¬ 1 π 0However, a more surprising effect of this is that the future doesn't need to have been notified about the mutex being locked at all for it to hold the lock anyway. It just needs to have started .awaiting it and not have been dropped.
25.02.2025 15:26 β π 0 π 0 π¬ 1 π 0Fun deadlock of the day: Tokio mutexes are "fair", which means that locks/acquires will complete in the order they were called. A future doesn't need to be actively polled for it to hold the lock, which makes sense as locks need to be held across .await points.
25.02.2025 15:26 β π 3 π 0 π¬ 1 π 0Whenβs the next one?
16.02.2025 12:47 β π 0 π 0 π¬ 1 π 0You could pass it as a path that references the actual implementation function. Like serde(serialize_with).
07.02.2025 18:32 β π 0 π 0 π¬ 1 π 0Derive macro attribute?
#[derive(Foo)]
#[foo(bar = βbarβ)]
struct S;
If you're using Bazel instead of Cargo, you could make a third crate that both crate 1 and crate 2 depend on, which contains a public type which is necessary to implement and/or name `SomeTrait`. Then make that crate only visible to crate 1 and crate 2.
06.02.2025 17:59 β π 0 π 0 π¬ 0 π 0Iβm on macOS, running rust-analyzer on a large Bazel project.
27.01.2025 15:52 β π 0 π 0 π¬ 0 π 0Also, Zed sometimes stop being able to open and read new files. I've seen it report "too many files open" in the past, but now it seems to fail silently. Also reported this a while back. This happens around once a day on a large monorepo.
27.01.2025 14:54 β π 0 π 0 π¬ 1 π 0Iβve created a few already π
26.01.2025 10:19 β π 0 π 0 π¬ 0 π 0The one thing that keeps me at the edge of switching to VS Code and back is the quality of the Supermaven integration. Things like suggestions not refreshing, support for replacement suggestions, etc. I reverted to Copilot this week because it got to the point where it was slowing me down.
25.01.2025 19:16 β π 0 π 0 π¬ 1 π 0I feel the Zed integration is particularly bad and got worse recently. I recall it being leagues better on VS Code. But it might be the model itself has changed.
24.01.2025 08:40 β π 0 π 0 π¬ 1 π 0...rustc
17.01.2025 13:53 β π 2 π 0 π¬ 0 π 0Very nice
25.12.2024 18:27 β π 0 π 0 π¬ 0 π 0An electric knife sharpener!
27.11.2024 12:21 β π 0 π 0 π¬ 0 π 0Game changer
20.11.2024 22:02 β π 3 π 0 π¬ 0 π 0Congrats!
14.11.2024 12:26 β π 0 π 0 π¬ 0 π 0