-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Code runs well in a usual #[test]
but fails in a doctest:
note: Undefined symbols for architecture x86_64:
"mruby::_$LT$impl$GT$::to_bool::hb7390b50b434ef6bida", referenced from:
main::ha42f3f275405f749gaa in rust_out.0.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: aborting due to previous error
thread 'mruby::MRuby_0' panicked at 'Box<Any>', src/libsyntax/diagnostic.rs:240
I'm calling to_bool
method in the test on a struct
called Value
. The issue is here. (Don't mind the panic!
.)
Metadata
Metadata
Assignees
Labels
No labels