Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 677 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 677 Bytes

lib-loading

An example of loading a dynamic library, and using the function it contains. This is achieved using the libloading crate.

Directory structure

getting-rusty/lib-loading on main [$] via 🦀 v1.69.0
➜ tree . -d
.
├── executor        # Contains the executor crate
│   └── src
└── hello-world     # Contains the hello-world shared library 
    └── src

Dependencies

  • libloading (v0.8)

Build and Run

The project root contains a Makefile that can be used to build and run the project.

# Build the project
make build

# Run the project
make run