Fix linking of the interpreter

I don't know why, byt the 'crate-type = "lib"' seem to fix the problem
This commit is contained in:
Olivier Goffart 2021-03-17 12:38:05 +01:00
parent 9e66ec71ce
commit 6e9d4f9e8d
4 changed files with 5 additions and 12 deletions

View file

@ -11,7 +11,7 @@ LICENSE END */
#[doc(hidden)]
#[cold]
pub extern "C" fn use_modules() -> usize {
pub fn use_modules() -> usize {
#[cfg(feature = "sixtyfps-interpreter")]
sixtyfps_interpreter::use_modules();
sixtyfps_rendering_backend_default::use_modules();