-
-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
This package uses deepcopy
at 19 locations (rg "deepcopy" | wc -l
).
However, deepcopy
doesn't work well for trimming binaries.
For instance, in https://github.com/RomeoV/TrimSimpleNonlinearSolve.jl we differentiate though a linear solve
with ForwardDiff
which triggers https://github.com/RomeoV/LinearSolve.jl/blob/rv%2Fremove-linsolve-forwarddiff-special-path/ext/LinearSolveForwardDiffExt.jl#L57 and results in errors while trimming.
We can resolve it by removing this extension, but probably we need some better way of handling deepcopy
, perhaps a deepcopy_noalias
?
Metadata
Metadata
Assignees
Labels
No labels