Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: mojo/public/rust/README.md

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/rust/Cargo.toml ('k') | mojo/public/rust/build.rs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/rust/README.md
diff --git a/mojo/public/rust/README.md b/mojo/public/rust/README.md
deleted file mode 100644
index bc8561525f9b26eca5f5689afcc21f14d541b9fa..0000000000000000000000000000000000000000
--- a/mojo/public/rust/README.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# Mojo Rust Public Bindings
-
-This crate contains the public Mojo bindings for Rust.
-
-## Build Instructions within Mojo Source Tree
-
-In the Mojo source tree, this crate gets compiled directly with examples, so for
-instructions on how to use those examples, please see the //examples directory
-at the root of the repository.
-
-Additionally, the Rust tests run as part of the overarching test suite, invoked
-by running
-
-```bash
-mojo/tools/mojob.py test
-```
-
-from the root directory.
-
-## Standalone Build Instructions
-
-1. Build Mojo Dependencies (from source root)
-
-```bash
-mojo/tools/mojob.py gn
-mojo/tools/mojob.py build
-```
-
-2. Build with Cargo (from this directory)
-
-First, set the Mojo output directory in order for Cargo to be able to find the
-Mojo dependencies:
-
-```bash
-export MOJO_OUT_DIR=/path/to/out/Debug
-```
-
-Then build normally using Cargo:
-
-```bash
-cargo build [--release]
-```
-
-Additional non-standard environment variables that Cargo will respond to:
-* MOJO_RUST_NO_EMBED - Specifies to not bundle the Mojo embedder or link
- against libstdc++, however tests will not work.
-
-3. Test
-
-Note: if you set MOJO_RUST_NO_EMBED, running tests will fail.
-
-```bash
-cargo test [--release]
-```
-
« no previous file with comments | « mojo/public/rust/Cargo.toml ('k') | mojo/public/rust/build.rs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698