Skip to content

Commit 39177b5

Browse files
committed
Update README.md
1 parent 034806c commit 39177b5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,13 @@ External unit tests and benchmarks are located in `src/test.rs`.
111111

112112
##Linking to Libraries
113113

114-
The directory `target/cpu-vendor-os/lib` is linked by default. If you put Rust libraries in this directory it will link statically if there is an ".rlib" file or dynamically if ".dylib" (OSX), ".so" (Linux) or ".dll" (Window).
114+
The directory `target/cpu-vendor-os/lib/` is linked by default. If you put Rust libraries in this directory it will link statically if there is an ".rlib" file or dynamically if ".dylib" (OSX), ".so" (Linux) or ".dll" (Window).
115+
116+
##Symlinked Libraries
117+
118+
Using the command `ln -s <from> <to>`, you can link the output file from another project to the `target/cpu/vendor-os/lib/` folder.
119+
120+
The command `make symlink-info` creates a file `.symlink-info` that contains the file name, current commit, the remote origin url and which remote branches this commit is available.
115121

116122
##Introduction To Rust
117123

0 commit comments

Comments
 (0)