Remove duplicate call to linker (#410)
Some checks failed
ZLUDA / Build (Linux) (push) Has been cancelled
ZLUDA / Build (Windows) (push) Has been cancelled
ZLUDA / Build AMD GPU unit tests (push) Has been cancelled
ZLUDA / Run AMD GPU unit tests (push) Has been cancelled

This commit is contained in:
Violet 2025-07-10 12:44:22 -07:00 committed by GitHub
commit 373d6d9e6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -186,7 +186,6 @@ pub fn compile_bitcode(
let stdlib_bitcode_data = Data::new(comgr, DataKind::Bc, c"ptx_impl.bc", ptx_impl)?;
bitcode_data_set.add(&stdlib_bitcode_data)?;
let linking_info = ActionInfo::new(comgr)?;
comgr.do_action(ActionKind::LinkBcToBc, &linking_info, &bitcode_data_set)?;
let linked_data_set =
comgr.do_action(ActionKind::LinkBcToBc, &linking_info, &bitcode_data_set)?;
let compile_to_exec = ActionInfo::new(comgr)?;