Files
archived-wry-cef/.cargo/config.toml
Lílian 077eb3a7ca fix(android): restore asset loading functionality to android (fix: #846) (#854)
* fix(android): restore asset loading functionality to android

Implements WebViewAssetLoader to load assets from the asset folder in Android when `with_asset_loader` is called in the builder. The function also sets the desired protocol for use in `with_url`, although the url must always be `<protocol>://assets/<path>`.

Refs: #846

* docs(changes): document changes for android's fix-asset-loading patch

* Refactor to prevent additional allocation

* Fix merge conflict

* Disable default target to android

* Pass zero parameter to android fns

---------

Co-authored-by: Wu Wayne <yuweiwu@pm.me>
2023-02-07 19:28:47 +08:00

5 lines
132 B
TOML

# [build]
# target = "aarch64-linux-android"
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-mmacosx-version-min=10.12"]