Skip to content

Commit

Permalink
WIP: Debug linker invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwe committed Dec 29, 2023
1 parent 92c0417 commit dd964b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Corrosion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ function(_add_cargo_build out_cargo_build_out_dir)
-D "COR_TARGET_IS_NO_STD=${COR_NO_STD}" # Todo: target property?
-P ${CORROSION_CMAKE_SRC_DIR}/CorrosionInvokeRustc.cmake
--)
target_link_options(${target_name} INTERFACE "@${native_libs_rsp_file}")
target_link_options(${target_name} INTERFACE "@${native_libs_rsp_file}" -Wl,-v)
elseif("cdylib" IN_LIST target_kinds)
set(cargo_rustc_filter "--lib")
elseif("bin" IN_LIST target_kinds)
Expand Down

0 comments on commit dd964b4

Please sign in to comment.