Open DaniPopes opened 6 months ago
Describe the Bug Context::metadata_string doc example returns "metadata is expected to be a node.", due to calling InstructionValue::set_metadata
Context::metadata_string
"metadata is expected to be a node."
InstructionValue::set_metadata
To Reproduce https://github.com/TheDan64/inkwell/blob/69c5a3fcc3e8b997c36e20021c52adcff664d746/src/context.rs#L1970-L2001
Expected Behavior A working example
LLVM Version (please complete the following information):
Desktop (please complete the following information):
Additional Context Opened an issue since I don't know how to fix it myself (:
Describe the Bug
Context::metadata_string
doc example returns"metadata is expected to be a node."
, due to callingInstructionValue::set_metadata
To Reproduce https://github.com/TheDan64/inkwell/blob/69c5a3fcc3e8b997c36e20021c52adcff664d746/src/context.rs#L1970-L2001
Expected Behavior A working example
LLVM Version (please complete the following information):
Desktop (please complete the following information):
Additional Context Opened an issue since I don't know how to fix it myself (: