docs.rs failed to build racket-sys-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
racket-sys
Low level Racket language bindings for Rust
About Racket: https://racket-lang.org/.
Prerequisites:
-
Base env:
Rust
toolchainClang
toolchainRacket
installation- Set environment variables (see below)
-
Windows:
Visual Studio
is installed- Run
cargo
inDeveloper PowerShell for VS
-
MacOS:
Xcode CommandLine tools
is installediconv
,ncurses
development libraries
-
Linux:
- Only tested on Ubuntu 24.04
- Racket is installed through APT
libncurses-dev
,liblz4-dev
,libzstd-dev
development libraries
Environment Variables:
-
RACKET_CS_VERSION
: Only for MacOS. If not set, default to8.13
. -
RACKET_CS_HOME
: Racket installation directory. If not set, default to:- Windows:
C:\Program Files\Racket
- MacOS:
/Applications/Racket v{RACKET_CS_VERSION}
- Linux:
/usr
- Windows:
Examples:
-
helloworld examples/helloworld.rs:
cargo run --example helloworld
screenshot on Windows:
Read https://docs.racket-lang.org/inside/cs-embedding.html for more information on how to embed Racket in your application.
TODO:
- Windows support
- MacOS support
- Linux support