Skip to content

Commit 471ab25

Browse files
committed
update README for crates.io
1 parent 1722d04 commit 471ab25

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,19 @@ rlibc
44
A bare minimum "libc" for Rust crates that do not want to rely on libc itself.
55
This crate provides functions which LLVM often lowers intrinsic calls to and
66
will be required to link correctly.
7+
8+
## Usage
9+
10+
Add this to your `Cargo.toml`:
11+
12+
```toml
13+
[dependencies]
14+
15+
rlibc = "*"
16+
```
17+
18+
And add this to your crate root:
19+
20+
```rust
21+
extern crate rlibc;
22+
```

0 commit comments

Comments
 (0)