Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fewensa/rtdlib-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtdlib-sys

Build Status

rtdlib-sys can call td for rust.

How include tdjson

The first you need read td know how to build td.

And then, when you have tdjson dylib file (.so/.lib/.dll) copy the file to the path of the system $PATH variable.

Or set an environment RUSTFLAGS, in the development phase, you can set RUSTFLAGS environment to you IDE.

Linux

export RUSTFLAGS="-C link-args=-Wl,-rpath,/path/to/lib_dir"
cargo run

Windows

MSVC

RUSTFLAGS=-C link-args=-LIBPATH:D:/path/to/lib_dir

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages