Skip to content

Commit 02fe359

Browse files
committed
update readme.md
Signed-off-by: kerthcet <kerthcet@gmail.com>
1 parent 946c7c6 commit 02fe359

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,12 @@ MLX itself is C++, which Rust cannot bind to directly. We bind against
1919
[`mlx-c`](https://github.com/ml-explore/mlx-c), Apple's official C API, whose
2020
CMake build pulls in MLX via `FetchContent`.
2121

22-
## Layout
23-
24-
- `crates/mlx-sys` — `build.rs` compiles `mlx-c` (+ MLX) with CMake and runs
25-
`bindgen` over `mlx/c/mlx.h`; `src/lib.rs` re-exports the generated bindings.
26-
- `crates/mlx` — safe wrappers (`Array`, ops, …) over `mlx-sys`.
27-
- `third_party/mlx-c` — pinned `mlx-c` submodule (currently `v0.6.0`).
28-
2922
## Building
3023

3124
```sh
3225
git submodule update --init --recursive
33-
cargo build
34-
cargo test
26+
make build
27+
make test
3528
```
3629

3730
Requirements: a recent Rust toolchain, `cmake`, and Xcode command-line tools.

0 commit comments

Comments
 (0)