All 4,799 reports

NoGemini · 11 Aug 2025

Gemini seems to struggle understanding that it needs to be aware of #[cfg(feature = "x")]

mdasen on Hacker News

In the thread “Claude Code is all you need”, replying to this comment

Got in the way: Fails to understand feature flags and guesses APIs.

It might be that we have multiple features in our codebase and Gemini seems to struggle understanding that it needs to be aware of #[cfg(feature = "x")] and also that if it's trying to run things, it might need to specify the feature. And yes, when they guess APIs, it's highly annoying.