Skip to content

Commit

Permalink
Merge branch 'master' into ao-update-mimalloc
Browse files Browse the repository at this point in the history
* master:
  parity-util-mem: use malloc for usable_size on android (#355)
  CI: troubleshoot macOS build (#356)
  • Loading branch information
ordian committed Mar 12, 2020
2 parents 062333c + 2f3167d commit 7949917
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ matrix:
script:
- cargo check --all --benches
- os: osx
osx_image: xcode11.2
osx_image: xcode11.3
addons:
chrome: stable
firefox: latest
install:
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | sh
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | sh
- source ~/.nvm/nvm.sh
- nvm install --lts
- npm install -g chromedriver
Expand Down
2 changes: 1 addition & 1 deletion parity-util-mem/src/allocators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ mod usable_size {
libmimalloc_sys::mi_usable_size(ptr as *mut _)
}

} else if #[cfg(target_os = "linux")] {
} else if #[cfg(any(target_os = "linux", target_os = "android"))] {

/// Linux call system allocator (currently malloc).
extern "C" {
Expand Down

0 comments on commit 7949917

Please sign in to comment.