-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving all FFI examples into tutorials (#4429)
I've updated them to be runnable outside the workspace. This is tested as the `docs` folder is excluded from the workspace. I moved `patch.toml` into `docs/tutorials/.cargo/config.toml` so that it automatically applies to every cargo invocation in tutorials. The crates-io test deletes the config, it already mutates the repo by deleting the `Cargo.lock`, and it's on borrowed time anyway. I've also found a better way of building static and dynamic libraries using `cargo rustc`. This way clients don't need to create wrapper crates anymore. They still have to create a `Cargo.toml` to pull in `icu_capi`, but they don't need a whole crate. I've removed all usages of `icu_capi_{staticlib,cdylib}` both internally and from tutorials. I suggest we phase out these crates soon.
- Loading branch information
1 parent
2bfb3d2
commit 160cecf
Showing
128 changed files
with
7,489 additions
and
828 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
118 changes: 115 additions & 3 deletions
118
...tests/tinyc/fixeddecimal/crate/Cargo.lock → ...ials/c-tiny/fixeddecimal/crate/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.