Skip to content

Split in tss-esapi and tss-esapi-sys #30

Closed
@ionut-arm

Description

@ionut-arm

Builds are broken for generating the docs for publishing on docs.rs due to the TSS libraries not being installed on the Docker image where the build takes place. Unfortunately there seems to be no quick way to fix this (e.g. by installing a system package).

The proposed solution is to set up dynamic loading through libloading . This implies creating a new type of FFI binding which can only be hand-crafted, as bindgen does not currently support it (see rust-lang/rust-bindgen#1541 ).

Alternatively, the work for adding the support in bindgen for this case could be done.
Or, the TSS include files can be pulled as a submodule.

EDIT: Initial problem was fixed by adding static bindings ESAPI that are used only for creating documentation. Thus, an issue still exists around removing said bindings and one of the suggestions above should be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions