If preload.custom is used to introduce new functionality then spectre cannot use it. It needs to have the same BEGIN semantics as preload.perl does.