Dirkjan Ochtman

Results 2027 comments of Dirkjan Ochtman

@dmarcuse @alexreg have you made any progress since your last comments here?

@dmarcuse what you have so far looks good! For drawbacks and alternatives, it would be probably be useful to dig into what `require_features` currently does and how it would interact...

Uh, I guess. Do you mean like this? ```diff diff --git a/build.rs b/build.rs index 25cc520..787906f 100644 --- a/build.rs +++ b/build.rs @@ -4172,8 +4172,6 @@ mod c { &[ "i386/ashldi3.S", "i386/ashrdi3.S",...

I have no clue how I'd test that, but if you can guide me along maybe I can come up with something.

This would be particularly useful for futures, where all await functions actually get listed as `std::future::from_generator::GenFuture::poll()`.

I'm excited about this PR and also very busy for the next few days, so please have some patience with me!

Yeah, I guess we should maybe take a reference of whatever we're passing to the macro? Would you be able to submit a PR?

I think this is the relevant PR: https://github.com/djc/askama/commit/230263711e7edb0110e1679f6d31353ba7cdc919. We may want to tweak that logic? Navigating whether we want to pass references or ownership is often tricky. I think it...

https://github.com/djc/askama/commit/c7697cbd406dce0962618e99a6b78116b14fdb1c contains similar changes for the macro calling code, I think.

Askama really doesn't support this use case, and it's not clear if it makes sense to do so. One thing that we've briefly discussed would be to allow "offline" code...