JuliaLang/PackageCompiler.jl

Add option to log which statement is being precompiled

開放

#867 建立於 2023年10月13日

 (0 則留言) (1 個反應) (0 位負責人)Julia (200 個分叉)batch import
feature requestgood first issueobservability

倉庫指標

星標
 (1,538 顆星)
PR 合併指標
 (平均合併 19天 6小時) (30 天內合併 4 個 PR)

描述

We're seeing a hang during create_app (https://github.com/JuliaLang/julia/issues/51603) for which we suspected a hang during type inference for a precompile(...) statement.

It these cases, it'd be helpful to be able to turn on a verbose/debug option to print which statement is being precompiled

There's a commented-out println in the code for this, so it'd just be turning that into a proper debug option https://github.com/JuliaLang/PackageCompiler.jl/blob/846292c50a7177ea27f1fdb607be8c42174e030e/src/PackageCompiler.jl#L343

貢獻者指南