From 3a7ffdc12df5cc02647188b283cfcbadb1af92e3 Mon Sep 17 00:00:00 2001 From: Manuel Drehwald Date: Sat, 4 Apr 2026 18:46:53 +0200 Subject: [PATCH] add current autodiff limitations --- library/core/src/autodiff.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/core/src/autodiff.md b/library/core/src/autodiff.md index f15d4d348c17..847ed8b3ef32 100644 --- a/library/core/src/autodiff.md +++ b/library/core/src/autodiff.md @@ -150,4 +150,8 @@ fn main() { } ``` +## Current limitations: +- Differentiating a function which accepts a `dyn Trait` is currently not supported. +- Builds without `lto="fat"` are not yet supported. +- Builds in debug mode are currently more likely to fail compilation.