Some APIs are not exposed by safe_app when built in debug mode

Description

Building 'safe_client_libs' in debug mode with mock routing feature, some APIs are not being exposed, e.g. trying to run tests from safe_app_nodejs, the error '1000: Failed to load native libraries: Error: Dynamic Symbol Retrieval Error: /home/bochaco/work/bochaco-safe_app_nodejs/src/native/mock/libsafe_app.so: undefined symbol: is_mock_build' is thrown, even when built with 'cargo build --features "use-mock-routing testing"'.

When the safe_app is built with '--release' this issue goes away.

Environment

Linux

Status

Assignee

Nikita Baksalyar

Reporter

Gabriel Viganotti

Labels

External issue URL

None

External issue ID

None

Start date

None

End date

None

Task progress

None

Baseline start date

None

Baseline end date

None

Components

Priority

Minor
Configure