fix(rust): Don't attribute untimed execution to optimization in profile (#28273)