- Reexports
LIBDEVICE_BITCODEfor cleaner dependency usage: TheLIBDEVICE_BITCODEsymbol from thecust_raw::nvvm_syscrate is now reexported via thenvvmcrate. This allows consuming crates to access the symbol directly fromnvvm, abstracting away the internal structure and reducing tight coupling tocust_raw. - Simplifies dependency graph and usage of NVVM internals: By removing the direct dependency on
cust_rawfromrustc_codegen_nvvm, the changes streamline the crate's external interface, reducing maintenance overhead and improving modularity. Consumers now only need to rely on the higher-levelnvvmcrate. - Improves code readability and encapsulation: The change makes the source cleaner by reducing low-level, verbose paths like
nvvm_sys::LIBDEVICE_BITCODEto a conciseLIBDEVICE_BITCODE, enhancing readability and reinforcing a layered architecture. - Maintains existing functionality: The code logic remains unchanged in behavior—
LIBDEVICE_BITCODEis still used in the same way, ensuring that the refactor is safe, non-breaking, and purely organizational.