tqchen opened a new pull request, #655: URL: https://github.com/apache/tvm-ffi/pull/655
## Summary - defer context injection from empty-library construction to the first ordinary function lookup - cache a successful refresh and invalidate it after each successful object add - preserve the existing add-object, lookup, initializer, link-order, session, and lifetime flows - propagate LLVM materialization failures while retaining missing-function behavior for `SymbolsNotFound` - bump the addon package to 0.1.1 This is the owner-requested minimal replacement for closed PR #653. ## Regression One C object defines only `__tvm_ffi__library_ctx` and a probe that reports whether it is set. The test creates an empty library, adds that object, and verifies the first returned function observes the injected pointer. Released 0.1.0 returns 0; this patch returns 1. ## Validation - complete addon suite: 139 passed, 3 platform skips - C and C++ quick starts - 0.1.1 wheel build, isolated install, version check, and focused regression - applicable formatting and lint hooks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
