]> git.lizzy.rs Git - rust.git/blobdiff - README.md
Use a proc macro to declare preallocated symbols
[rust.git] / README.md
index 514e420ca457cab879d3daae5746caf370dcdd4f..55e6e8d7f188925804bc82aa14e68a7b63e65a15 100644 (file)
--- a/README.md
+++ b/README.md
@@ -45,6 +45,22 @@ of the rustc-guide instead._
     $ ./x.py build && sudo ./x.py install
     ```
 
+    If after running `sudo ./x.py install` you see an error message like
+
+    ```
+    error: failed to load source for a dependency on 'cc'
+    ```
+
+    then run these two commands and then try `sudo ./x.py install` again:
+
+    ```
+    $ cargo install cargo-vendor
+    ```
+
+    ```
+    $ cargo vendor
+    ```
+
     > ***Note:*** Install locations can be adjusted by copying the config file
     > from `./config.toml.example` to `./config.toml`, and
     > adjusting the `prefix` option under `[install]`. Various other options, such