Skip to content

How to write test for the rust functions #6

@hanwencheng

Description

@hanwencheng

I tried to write some test, under both ./test and ./example/test

but it comes with error:

Invalid argument(s): Failed to lookup symbol (dlsym(RTLD_DEFAULT, my_function_name): symbol not found)
  dart:ffi                                                          DynamicLibrary.lookup

Though it can be called in the application.

I tried to add some delay for loading the test, but still failed, probabaly some extra setting is required.

It should more related to ffi package, discussed it there: dart-archive/ffi#39

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions