mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
www/zola: Update to 0.18.0
Changes: https://github.com/getzola/zola/releases/tag/v0.18.0
This commit is contained in:
parent
10a7d51e00
commit
81dc2c6b92
@ -1,7 +1,6 @@
|
||||
PORTNAME= zola
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.17.2
|
||||
PORTREVISION= 6
|
||||
DISTVERSION= 0.18.0
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= mikael@FreeBSD.org
|
||||
@ -18,437 +17,6 @@ USES= cargo ssl
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= getzola
|
||||
|
||||
CARGO_CRATES= adler-1.0.2 \
|
||||
ahash-0.7.6 \
|
||||
ahash-0.8.3 \
|
||||
aho-corasick-0.7.20 \
|
||||
ammonia-3.3.0 \
|
||||
android_system_properties-0.1.5 \
|
||||
any_ascii-0.1.7 \
|
||||
anyhow-1.0.69 \
|
||||
arrayvec-0.5.2 \
|
||||
arrayvec-0.7.2 \
|
||||
assert-json-diff-2.0.2 \
|
||||
atty-0.2.14 \
|
||||
autocfg-1.1.0 \
|
||||
base64-0.21.0 \
|
||||
bincode-1.3.3 \
|
||||
bit_field-0.10.2 \
|
||||
bitflags-1.3.2 \
|
||||
block-buffer-0.7.3 \
|
||||
block-buffer-0.10.4 \
|
||||
block-padding-0.1.5 \
|
||||
bstr-1.3.0 \
|
||||
build_const-0.2.2 \
|
||||
bumpalo-3.12.0 \
|
||||
byte-tools-0.3.1 \
|
||||
bytecount-0.3.2 \
|
||||
bytecount-0.6.3 \
|
||||
bytemuck-1.13.1 \
|
||||
byteorder-1.4.3 \
|
||||
bytes-0.4.12 \
|
||||
bytes-1.4.0 \
|
||||
camino-1.1.4 \
|
||||
cargo-platform-0.1.2 \
|
||||
cargo_metadata-0.14.2 \
|
||||
cc-1.0.79 \
|
||||
cedarwood-0.4.6 \
|
||||
cfg-if-0.1.10 \
|
||||
cfg-if-1.0.0 \
|
||||
chrono-0.4.24 \
|
||||
chrono-tz-0.6.1 \
|
||||
chrono-tz-build-0.0.2 \
|
||||
clap-3.2.23 \
|
||||
clap-4.1.8 \
|
||||
clap_complete-4.1.4 \
|
||||
clap_derive-3.2.18 \
|
||||
clap_derive-4.1.8 \
|
||||
clap_lex-0.2.4 \
|
||||
clap_lex-0.3.2 \
|
||||
codemap-0.1.3 \
|
||||
codespan-reporting-0.11.1 \
|
||||
color_quant-1.1.0 \
|
||||
colored-2.0.0 \
|
||||
console-0.15.5 \
|
||||
convert_case-0.4.0 \
|
||||
core-foundation-0.9.3 \
|
||||
core-foundation-sys-0.8.3 \
|
||||
cpufeatures-0.2.5 \
|
||||
crc-1.8.1 \
|
||||
crc32fast-1.3.2 \
|
||||
crossbeam-channel-0.5.7 \
|
||||
crossbeam-deque-0.8.3 \
|
||||
crossbeam-epoch-0.9.14 \
|
||||
crossbeam-utils-0.8.15 \
|
||||
crunchy-0.2.2 \
|
||||
crypto-common-0.1.6 \
|
||||
css-minify-0.3.1 \
|
||||
csv-1.2.1 \
|
||||
csv-core-0.1.10 \
|
||||
ctrlc-3.2.5 \
|
||||
cxx-1.0.92 \
|
||||
cxx-build-1.0.92 \
|
||||
cxxbridge-flags-1.0.92 \
|
||||
cxxbridge-macro-1.0.92 \
|
||||
derive_more-0.99.17 \
|
||||
deunicode-0.4.3 \
|
||||
digest-0.8.1 \
|
||||
digest-0.10.6 \
|
||||
displaydoc-0.2.3 \
|
||||
doc-comment-0.3.3 \
|
||||
either-1.8.1 \
|
||||
elasticlunr-rs-3.0.1 \
|
||||
encode_unicode-0.3.6 \
|
||||
encoding-0.2.33 \
|
||||
encoding-index-japanese-1.20141219.5 \
|
||||
encoding-index-korean-1.20141219.5 \
|
||||
encoding-index-simpchinese-1.20141219.5 \
|
||||
encoding-index-singlebyte-1.20141219.5 \
|
||||
encoding-index-tradchinese-1.20141219.5 \
|
||||
encoding_index_tests-0.1.4 \
|
||||
encoding_rs-0.8.32 \
|
||||
env_logger-0.9.3 \
|
||||
errno-0.2.8 \
|
||||
errno-dragonfly-0.1.2 \
|
||||
error-chain-0.12.4 \
|
||||
exr-1.6.3 \
|
||||
fake-simd-0.1.2 \
|
||||
fastrand-1.9.0 \
|
||||
filetime-0.2.20 \
|
||||
flate2-1.0.25 \
|
||||
flume-0.10.14 \
|
||||
fnv-1.0.7 \
|
||||
foreign-types-0.3.2 \
|
||||
foreign-types-shared-0.1.1 \
|
||||
form_urlencoded-1.1.0 \
|
||||
fsevent-0.4.0 \
|
||||
fsevent-sys-2.0.1 \
|
||||
fuchsia-zircon-0.3.3 \
|
||||
fuchsia-zircon-sys-0.3.3 \
|
||||
futf-0.1.5 \
|
||||
futures-channel-0.3.27 \
|
||||
futures-core-0.3.27 \
|
||||
futures-io-0.3.27 \
|
||||
futures-sink-0.3.27 \
|
||||
futures-task-0.3.27 \
|
||||
futures-util-0.3.27 \
|
||||
fxhash-0.2.1 \
|
||||
generic-array-0.12.4 \
|
||||
generic-array-0.14.6 \
|
||||
getrandom-0.1.16 \
|
||||
getrandom-0.2.8 \
|
||||
gh-emoji-1.0.7 \
|
||||
gif-0.11.4 \
|
||||
glob-0.3.1 \
|
||||
globset-0.4.10 \
|
||||
globwalk-0.8.1 \
|
||||
grass-0.12.3 \
|
||||
grass_compiler-0.12.3 \
|
||||
h2-0.3.16 \
|
||||
half-2.2.1 \
|
||||
hashbrown-0.11.2 \
|
||||
hashbrown-0.12.3 \
|
||||
heck-0.4.1 \
|
||||
hermit-abi-0.1.19 \
|
||||
hermit-abi-0.2.6 \
|
||||
hermit-abi-0.3.1 \
|
||||
html5ever-0.26.0 \
|
||||
http-0.2.9 \
|
||||
http-body-0.4.5 \
|
||||
httparse-1.8.0 \
|
||||
httpdate-1.0.2 \
|
||||
humansize-2.1.3 \
|
||||
humantime-2.1.0 \
|
||||
hyper-0.14.25 \
|
||||
hyper-rustls-0.23.2 \
|
||||
hyper-tls-0.5.0 \
|
||||
iana-time-zone-0.1.53 \
|
||||
iana-time-zone-haiku-0.1.1 \
|
||||
idna-0.3.0 \
|
||||
ignore-0.4.20 \
|
||||
image-0.24.5 \
|
||||
indexmap-1.9.2 \
|
||||
inotify-0.7.1 \
|
||||
inotify-sys-0.1.5 \
|
||||
insta-1.28.0 \
|
||||
instant-0.1.12 \
|
||||
io-lifetimes-1.0.6 \
|
||||
iovec-0.1.4 \
|
||||
ipnet-2.7.1 \
|
||||
is-terminal-0.4.4 \
|
||||
itoa-1.0.6 \
|
||||
jieba-rs-0.6.7 \
|
||||
jobserver-0.1.26 \
|
||||
jpeg-decoder-0.3.0 \
|
||||
js-sys-0.3.61 \
|
||||
kamadak-exif-0.5.5 \
|
||||
kernel32-sys-0.2.2 \
|
||||
lasso-0.6.0 \
|
||||
lazy_static-1.4.0 \
|
||||
lazycell-1.3.0 \
|
||||
lebe-0.5.2 \
|
||||
lexical-core-0.7.6 \
|
||||
lexical-sort-0.3.1 \
|
||||
libc-0.2.140 \
|
||||
libm-0.2.6 \
|
||||
libwebp-sys-0.4.2 \
|
||||
lindera-0.14.0 \
|
||||
lindera-cc-cedict-builder-0.13.5 \
|
||||
lindera-core-0.13.5 \
|
||||
lindera-decompress-0.13.5 \
|
||||
lindera-dictionary-0.13.5 \
|
||||
lindera-ipadic-0.13.5 \
|
||||
lindera-ipadic-builder-0.13.5 \
|
||||
lindera-ko-dic-builder-0.13.5 \
|
||||
lindera-unidic-builder-0.13.5 \
|
||||
line-wrap-0.1.1 \
|
||||
link-cplusplus-1.0.8 \
|
||||
linked-hash-map-0.5.6 \
|
||||
linux-raw-sys-0.1.4 \
|
||||
lock_api-0.4.9 \
|
||||
log-0.4.17 \
|
||||
lzma-rs-0.2.0 \
|
||||
mac-0.1.1 \
|
||||
maplit-1.0.2 \
|
||||
markup5ever-0.11.0 \
|
||||
memchr-2.5.0 \
|
||||
memoffset-0.8.0 \
|
||||
mime-0.3.16 \
|
||||
mime_guess-2.0.4 \
|
||||
minidom-0.12.0 \
|
||||
minify-html-0.10.8 \
|
||||
minify-js-0.4.3 \
|
||||
minimal-lexical-0.2.1 \
|
||||
miniz_oxide-0.6.2 \
|
||||
mio-0.6.23 \
|
||||
mio-0.8.6 \
|
||||
mio-extras-2.0.6 \
|
||||
miow-0.2.2 \
|
||||
mockito-0.31.1 \
|
||||
mutate_once-0.1.1 \
|
||||
nanorand-0.7.0 \
|
||||
native-tls-0.2.11 \
|
||||
net2-0.2.38 \
|
||||
new_debug_unreachable-1.0.4 \
|
||||
nix-0.26.2 \
|
||||
nom-5.1.2 \
|
||||
nom-7.1.3 \
|
||||
nom-bibtex-0.3.0 \
|
||||
nom-tracable-0.5.2 \
|
||||
nom-tracable-macros-0.5.2 \
|
||||
nom_locate-1.0.0 \
|
||||
nom_locate-2.1.0 \
|
||||
notify-4.0.17 \
|
||||
num-format-0.4.4 \
|
||||
num-integer-0.1.45 \
|
||||
num-rational-0.4.1 \
|
||||
num-traits-0.2.15 \
|
||||
num_cpus-1.15.0 \
|
||||
num_threads-0.1.6 \
|
||||
once_cell-1.17.1 \
|
||||
onig-6.4.0 \
|
||||
onig_sys-69.8.1 \
|
||||
opaque-debug-0.2.3 \
|
||||
open-3.4.0 \
|
||||
openssl-0.10.46 \
|
||||
openssl-macros-0.1.0 \
|
||||
openssl-probe-0.1.5 \
|
||||
openssl-sys-0.9.81 \
|
||||
os_str_bytes-6.4.1 \
|
||||
parking_lot-0.12.1 \
|
||||
parking_lot_core-0.9.7 \
|
||||
parse-js-0.10.3 \
|
||||
parse-zoneinfo-0.3.0 \
|
||||
path-slash-0.2.1 \
|
||||
pathdiff-0.2.1 \
|
||||
percent-encoding-2.2.0 \
|
||||
pest-2.5.6 \
|
||||
pest_derive-2.5.6 \
|
||||
pest_generator-2.5.6 \
|
||||
pest_meta-2.5.6 \
|
||||
phf-0.10.1 \
|
||||
phf-0.11.1 \
|
||||
phf_codegen-0.10.0 \
|
||||
phf_codegen-0.11.1 \
|
||||
phf_generator-0.10.0 \
|
||||
phf_generator-0.11.1 \
|
||||
phf_macros-0.10.0 \
|
||||
phf_shared-0.10.0 \
|
||||
phf_shared-0.11.1 \
|
||||
pin-project-1.0.12 \
|
||||
pin-project-internal-1.0.12 \
|
||||
pin-project-lite-0.2.9 \
|
||||
pin-utils-0.1.0 \
|
||||
pkg-config-0.3.26 \
|
||||
plist-1.4.2 \
|
||||
png-0.17.7 \
|
||||
ppv-lite86-0.2.17 \
|
||||
precomputed-hash-0.1.1 \
|
||||
proc-macro-error-1.0.4 \
|
||||
proc-macro-error-attr-1.0.4 \
|
||||
proc-macro-hack-0.5.20+deprecated \
|
||||
proc-macro2-1.0.52 \
|
||||
pulldown-cmark-0.9.2 \
|
||||
pure-rust-locales-0.5.6 \
|
||||
quick-error-1.2.3 \
|
||||
quick-xml-0.17.2 \
|
||||
quick-xml-0.27.1 \
|
||||
quickxml_to_serde-0.5.0 \
|
||||
quote-1.0.26 \
|
||||
rand-0.7.3 \
|
||||
rand-0.8.5 \
|
||||
rand_chacha-0.2.2 \
|
||||
rand_chacha-0.3.1 \
|
||||
rand_core-0.5.1 \
|
||||
rand_core-0.6.4 \
|
||||
rand_hc-0.2.0 \
|
||||
rayon-1.7.0 \
|
||||
rayon-core-1.11.0 \
|
||||
redox_syscall-0.2.16 \
|
||||
regex-1.7.1 \
|
||||
regex-syntax-0.6.28 \
|
||||
relative-path-1.8.0 \
|
||||
reqwest-0.11.14 \
|
||||
ring-0.16.20 \
|
||||
roxmltree-0.18.0 \
|
||||
rust-stemmers-1.2.0 \
|
||||
rustc-hash-1.1.0 \
|
||||
rustc_version-0.4.0 \
|
||||
rustix-0.36.9 \
|
||||
rustls-0.20.8 \
|
||||
rustls-pemfile-1.0.2 \
|
||||
ryu-1.0.13 \
|
||||
safemem-0.3.3 \
|
||||
same-file-1.0.6 \
|
||||
schannel-0.1.21 \
|
||||
scoped_threadpool-0.1.9 \
|
||||
scopeguard-1.1.0 \
|
||||
scratch-1.0.5 \
|
||||
sct-0.7.0 \
|
||||
security-framework-2.8.2 \
|
||||
security-framework-sys-2.8.0 \
|
||||
semver-1.0.17 \
|
||||
serde-1.0.156 \
|
||||
serde_derive-1.0.156 \
|
||||
serde_json-1.0.94 \
|
||||
serde_spanned-0.6.1 \
|
||||
serde_urlencoded-0.7.1 \
|
||||
serde_yaml-0.9.19 \
|
||||
sha-1-0.8.2 \
|
||||
sha2-0.10.6 \
|
||||
simd-adler32-0.3.5 \
|
||||
similar-2.2.1 \
|
||||
siphasher-0.3.10 \
|
||||
skeptic-0.13.7 \
|
||||
slab-0.4.8 \
|
||||
slug-0.1.4 \
|
||||
smallvec-1.10.0 \
|
||||
socket2-0.4.9 \
|
||||
spin-0.5.2 \
|
||||
spin-0.9.6 \
|
||||
static_assertions-1.1.0 \
|
||||
string_cache-0.8.7 \
|
||||
string_cache_codegen-0.5.2 \
|
||||
strsim-0.10.0 \
|
||||
svg_metadata-0.4.4 \
|
||||
syn-1.0.109 \
|
||||
syntect-5.0.0 \
|
||||
tar-0.4.38 \
|
||||
tempfile-3.4.0 \
|
||||
tendril-0.4.3 \
|
||||
tera-1.18.1 \
|
||||
termcolor-1.2.0 \
|
||||
test-case-3.0.0 \
|
||||
test-case-core-3.0.0 \
|
||||
test-case-macros-3.0.0 \
|
||||
textwrap-0.16.0 \
|
||||
thiserror-1.0.39 \
|
||||
thiserror-impl-1.0.39 \
|
||||
thread_local-1.1.4 \
|
||||
tiff-0.8.1 \
|
||||
time-0.3.20 \
|
||||
time-core-0.1.0 \
|
||||
time-macros-0.2.8 \
|
||||
tinystr-0.7.1 \
|
||||
tinyvec-1.6.0 \
|
||||
tinyvec_macros-0.1.1 \
|
||||
tokio-1.26.0 \
|
||||
tokio-native-tls-0.3.1 \
|
||||
tokio-rustls-0.23.4 \
|
||||
tokio-util-0.7.7 \
|
||||
toml-0.5.11 \
|
||||
toml-0.7.3 \
|
||||
toml_datetime-0.6.1 \
|
||||
toml_edit-0.19.7 \
|
||||
tower-service-0.3.2 \
|
||||
tracing-0.1.37 \
|
||||
tracing-core-0.1.30 \
|
||||
try-lock-0.2.4 \
|
||||
typenum-1.16.0 \
|
||||
ucd-trie-0.1.5 \
|
||||
uncased-0.9.7 \
|
||||
unic-char-property-0.9.0 \
|
||||
unic-char-range-0.9.0 \
|
||||
unic-common-0.9.0 \
|
||||
unic-langid-0.9.1 \
|
||||
unic-langid-impl-0.9.1 \
|
||||
unic-segment-0.9.0 \
|
||||
unic-ucd-segment-0.9.0 \
|
||||
unic-ucd-version-0.9.0 \
|
||||
unicase-2.6.0 \
|
||||
unicode-bidi-0.3.11 \
|
||||
unicode-ident-1.0.8 \
|
||||
unicode-normalization-0.1.22 \
|
||||
unicode-segmentation-1.10.1 \
|
||||
unicode-width-0.1.10 \
|
||||
unsafe-libyaml-0.2.7 \
|
||||
untrusted-0.7.1 \
|
||||
url-2.3.1 \
|
||||
utf-8-0.7.6 \
|
||||
vcpkg-0.2.15 \
|
||||
version_check-0.9.4 \
|
||||
walkdir-2.3.2 \
|
||||
want-0.3.0 \
|
||||
wasi-0.9.0+wasi-snapshot-preview1 \
|
||||
wasi-0.11.0+wasi-snapshot-preview1 \
|
||||
wasm-bindgen-0.2.84 \
|
||||
wasm-bindgen-backend-0.2.84 \
|
||||
wasm-bindgen-futures-0.4.34 \
|
||||
wasm-bindgen-macro-0.2.84 \
|
||||
wasm-bindgen-macro-support-0.2.84 \
|
||||
wasm-bindgen-shared-0.2.84 \
|
||||
web-sys-0.3.61 \
|
||||
webp-0.2.2 \
|
||||
webpki-0.22.0 \
|
||||
webpki-roots-0.22.6 \
|
||||
weezl-0.1.7 \
|
||||
winapi-0.2.8 \
|
||||
winapi-0.3.9 \
|
||||
winapi-build-0.1.1 \
|
||||
winapi-i686-pc-windows-gnu-0.4.0 \
|
||||
winapi-util-0.1.5 \
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0 \
|
||||
windows-sys-0.42.0 \
|
||||
windows-sys-0.45.0 \
|
||||
windows-targets-0.42.2 \
|
||||
windows_aarch64_gnullvm-0.42.2 \
|
||||
windows_aarch64_msvc-0.42.2 \
|
||||
windows_i686_gnu-0.42.2 \
|
||||
windows_i686_msvc-0.42.2 \
|
||||
windows_x86_64_gnu-0.42.2 \
|
||||
windows_x86_64_gnullvm-0.42.2 \
|
||||
windows_x86_64_msvc-0.42.2 \
|
||||
winnow-0.3.6 \
|
||||
winreg-0.10.1 \
|
||||
winres-0.1.12 \
|
||||
ws-0.9.2 \
|
||||
ws2_32-sys-0.2.1 \
|
||||
xattr-0.2.3 \
|
||||
xmlparser-0.13.5 \
|
||||
yada-0.5.0 \
|
||||
yaml-rust-0.4.5 \
|
||||
zune-inflate-0.2.51
|
||||
|
||||
MAKE_ENV= CARGO_PROFILE_RELEASE_LTO=off
|
||||
|
||||
PLIST_FILES= bin/zola \
|
||||
|
454
www/zola/Makefile.crates
Normal file
454
www/zola/Makefile.crates
Normal file
@ -0,0 +1,454 @@
|
||||
CARGO_CRATES= addr2line-0.21.0 \
|
||||
adler-1.0.2 \
|
||||
ahash-0.7.7 \
|
||||
ahash-0.8.6 \
|
||||
aho-corasick-0.7.20 \
|
||||
aho-corasick-1.1.2 \
|
||||
ammonia-3.3.0 \
|
||||
android-tzdata-0.1.1 \
|
||||
android_system_properties-0.1.5 \
|
||||
anstream-0.6.5 \
|
||||
anstyle-1.0.4 \
|
||||
anstyle-parse-0.2.3 \
|
||||
anstyle-query-1.0.2 \
|
||||
anstyle-wincon-3.0.2 \
|
||||
any_ascii-0.1.7 \
|
||||
anyhow-1.0.75 \
|
||||
arrayvec-0.7.4 \
|
||||
assert-json-diff-2.0.2 \
|
||||
atty-0.2.14 \
|
||||
autocfg-1.1.0 \
|
||||
backtrace-0.3.69 \
|
||||
base64-0.21.5 \
|
||||
bincode-1.3.3 \
|
||||
bit_field-0.10.2 \
|
||||
bitflags-1.3.2 \
|
||||
bitflags-2.4.1 \
|
||||
block-buffer-0.7.3 \
|
||||
block-buffer-0.10.4 \
|
||||
block-padding-0.1.5 \
|
||||
bstr-1.8.0 \
|
||||
build_const-0.2.2 \
|
||||
bumpalo-3.14.0 \
|
||||
byte-tools-0.3.1 \
|
||||
bytecount-0.6.7 \
|
||||
bytemuck-1.14.0 \
|
||||
byteorder-1.5.0 \
|
||||
bytes-0.4.12 \
|
||||
bytes-1.5.0 \
|
||||
camino-1.1.6 \
|
||||
cargo-platform-0.1.5 \
|
||||
cargo_metadata-0.14.2 \
|
||||
cc-1.0.83 \
|
||||
cedarwood-0.4.6 \
|
||||
cfg-if-0.1.10 \
|
||||
cfg-if-1.0.0 \
|
||||
chrono-0.4.31 \
|
||||
chrono-tz-0.8.4 \
|
||||
chrono-tz-build-0.2.1 \
|
||||
clap-3.2.25 \
|
||||
clap-4.4.11 \
|
||||
clap_builder-4.4.11 \
|
||||
clap_complete-4.4.4 \
|
||||
clap_derive-3.2.25 \
|
||||
clap_derive-4.4.7 \
|
||||
clap_lex-0.2.4 \
|
||||
clap_lex-0.6.0 \
|
||||
codemap-0.1.3 \
|
||||
color_quant-1.1.0 \
|
||||
colorchoice-1.0.0 \
|
||||
colored-2.1.0 \
|
||||
console-0.15.7 \
|
||||
convert_case-0.4.0 \
|
||||
core-foundation-0.9.4 \
|
||||
core-foundation-sys-0.8.6 \
|
||||
cpufeatures-0.2.11 \
|
||||
crc-1.8.1 \
|
||||
crc32fast-1.3.2 \
|
||||
crossbeam-deque-0.8.4 \
|
||||
crossbeam-epoch-0.9.16 \
|
||||
crossbeam-utils-0.8.17 \
|
||||
crunchy-0.2.2 \
|
||||
crypto-common-0.1.6 \
|
||||
css-minify-0.3.1 \
|
||||
csv-1.3.0 \
|
||||
csv-core-0.1.11 \
|
||||
ctrlc-3.4.1 \
|
||||
deranged-0.3.10 \
|
||||
derive_more-0.99.17 \
|
||||
deunicode-1.4.2 \
|
||||
digest-0.8.1 \
|
||||
digest-0.10.7 \
|
||||
displaydoc-0.2.4 \
|
||||
doc-comment-0.3.3 \
|
||||
either-1.9.0 \
|
||||
elasticlunr-rs-3.0.2 \
|
||||
encode_unicode-0.3.6 \
|
||||
encoding-0.2.33 \
|
||||
encoding-index-japanese-1.20141219.5 \
|
||||
encoding-index-korean-1.20141219.5 \
|
||||
encoding-index-simpchinese-1.20141219.5 \
|
||||
encoding-index-singlebyte-1.20141219.5 \
|
||||
encoding-index-tradchinese-1.20141219.5 \
|
||||
encoding_index_tests-0.1.4 \
|
||||
encoding_rs-0.8.33 \
|
||||
env_logger-0.9.3 \
|
||||
equivalent-1.0.1 \
|
||||
errno-0.3.8 \
|
||||
error-chain-0.12.4 \
|
||||
exr-1.71.0 \
|
||||
fake-simd-0.1.2 \
|
||||
fastrand-2.0.1 \
|
||||
fdeflate-0.3.1 \
|
||||
filetime-0.2.23 \
|
||||
flate2-1.0.28 \
|
||||
flume-0.11.0 \
|
||||
fnv-1.0.7 \
|
||||
foreign-types-0.3.2 \
|
||||
foreign-types-shared-0.1.1 \
|
||||
form_urlencoded-1.2.1 \
|
||||
fsevent-0.4.0 \
|
||||
fsevent-sys-2.0.1 \
|
||||
fuchsia-zircon-0.3.3 \
|
||||
fuchsia-zircon-sys-0.3.3 \
|
||||
futf-0.1.5 \
|
||||
futures-channel-0.3.29 \
|
||||
futures-core-0.3.29 \
|
||||
futures-io-0.3.29 \
|
||||
futures-sink-0.3.29 \
|
||||
futures-task-0.3.29 \
|
||||
futures-util-0.3.29 \
|
||||
fxhash-0.2.1 \
|
||||
generic-array-0.12.4 \
|
||||
generic-array-0.14.7 \
|
||||
getrandom-0.1.16 \
|
||||
getrandom-0.2.11 \
|
||||
gh-emoji-1.0.8 \
|
||||
gif-0.12.0 \
|
||||
gimli-0.28.1 \
|
||||
glob-0.3.1 \
|
||||
globset-0.4.14 \
|
||||
globwalk-0.8.1 \
|
||||
grass-0.13.1 \
|
||||
grass_compiler-0.13.0 \
|
||||
h2-0.3.22 \
|
||||
half-2.2.1 \
|
||||
hashbrown-0.11.2 \
|
||||
hashbrown-0.12.3 \
|
||||
hashbrown-0.14.3 \
|
||||
heck-0.4.1 \
|
||||
hermit-abi-0.1.19 \
|
||||
hermit-abi-0.3.3 \
|
||||
html5ever-0.26.0 \
|
||||
http-0.2.11 \
|
||||
http-body-0.4.6 \
|
||||
httparse-1.8.0 \
|
||||
httpdate-1.0.3 \
|
||||
humansize-2.1.3 \
|
||||
humantime-2.1.0 \
|
||||
hyper-0.14.27 \
|
||||
hyper-rustls-0.24.2 \
|
||||
hyper-tls-0.5.0 \
|
||||
iana-time-zone-0.1.58 \
|
||||
iana-time-zone-haiku-0.1.2 \
|
||||
idna-0.5.0 \
|
||||
ignore-0.4.21 \
|
||||
image-0.24.7 \
|
||||
indexmap-1.9.3 \
|
||||
indexmap-2.1.0 \
|
||||
inotify-0.7.1 \
|
||||
inotify-sys-0.1.5 \
|
||||
insta-1.34.0 \
|
||||
iovec-0.1.4 \
|
||||
ipnet-2.9.0 \
|
||||
is-docker-0.2.0 \
|
||||
is-wsl-0.4.0 \
|
||||
itoa-1.0.10 \
|
||||
jieba-rs-0.6.8 \
|
||||
jobserver-0.1.27 \
|
||||
jpeg-decoder-0.3.0 \
|
||||
js-sys-0.3.66 \
|
||||
kamadak-exif-0.5.5 \
|
||||
kernel32-sys-0.2.2 \
|
||||
lasso-0.6.0 \
|
||||
lazy_static-1.4.0 \
|
||||
lazycell-1.3.0 \
|
||||
lebe-0.5.2 \
|
||||
lexical-sort-0.3.1 \
|
||||
libc-0.2.151 \
|
||||
libm-0.2.8 \
|
||||
libwebp-sys-0.9.4 \
|
||||
lindera-0.14.0 \
|
||||
lindera-cc-cedict-builder-0.13.5 \
|
||||
lindera-core-0.13.5 \
|
||||
lindera-decompress-0.13.5 \
|
||||
lindera-dictionary-0.13.5 \
|
||||
lindera-ipadic-0.13.5 \
|
||||
lindera-ipadic-builder-0.13.5 \
|
||||
lindera-ko-dic-builder-0.13.5 \
|
||||
lindera-unidic-builder-0.13.5 \
|
||||
line-wrap-0.1.1 \
|
||||
linked-hash-map-0.5.6 \
|
||||
linux-raw-sys-0.4.12 \
|
||||
lock_api-0.4.11 \
|
||||
log-0.4.20 \
|
||||
lzma-rs-0.2.0 \
|
||||
mac-0.1.1 \
|
||||
maplit-1.0.2 \
|
||||
markup5ever-0.11.0 \
|
||||
memchr-2.6.4 \
|
||||
memoffset-0.9.0 \
|
||||
mime-0.3.17 \
|
||||
mime_guess-2.0.4 \
|
||||
minidom-0.12.0 \
|
||||
minify-html-0.11.1 \
|
||||
minify-js-0.4.3 \
|
||||
minimal-lexical-0.2.1 \
|
||||
miniz_oxide-0.7.1 \
|
||||
mio-0.6.23 \
|
||||
mio-0.8.10 \
|
||||
mio-extras-2.0.6 \
|
||||
miow-0.2.2 \
|
||||
mockito-0.31.1 \
|
||||
mutate_once-0.1.1 \
|
||||
native-tls-0.2.11 \
|
||||
net2-0.2.39 \
|
||||
new_debug_unreachable-1.0.4 \
|
||||
nix-0.27.1 \
|
||||
nom-7.1.3 \
|
||||
nom-bibtex-0.5.0 \
|
||||
nom-tracable-0.9.0 \
|
||||
nom-tracable-macros-0.9.0 \
|
||||
nom_locate-4.2.0 \
|
||||
notify-4.0.17 \
|
||||
num-format-0.4.4 \
|
||||
num-integer-0.1.45 \
|
||||
num-rational-0.4.1 \
|
||||
num-traits-0.2.17 \
|
||||
num_cpus-1.16.0 \
|
||||
num_threads-0.1.6 \
|
||||
object-0.32.1 \
|
||||
once_cell-1.19.0 \
|
||||
onig-6.4.0 \
|
||||
onig_sys-69.8.1 \
|
||||
opaque-debug-0.2.3 \
|
||||
open-5.0.1 \
|
||||
openssl-0.10.61 \
|
||||
openssl-macros-0.1.1 \
|
||||
openssl-probe-0.1.5 \
|
||||
openssl-sys-0.9.97 \
|
||||
os_str_bytes-6.6.1 \
|
||||
parking_lot-0.12.1 \
|
||||
parking_lot_core-0.9.9 \
|
||||
parse-js-0.10.3 \
|
||||
parse-zoneinfo-0.3.0 \
|
||||
path-slash-0.2.1 \
|
||||
pathdiff-0.2.1 \
|
||||
percent-encoding-2.3.1 \
|
||||
pest-2.7.5 \
|
||||
pest_derive-2.7.5 \
|
||||
pest_generator-2.7.5 \
|
||||
pest_meta-2.7.5 \
|
||||
phf-0.10.1 \
|
||||
phf-0.11.2 \
|
||||
phf_codegen-0.10.0 \
|
||||
phf_codegen-0.11.2 \
|
||||
phf_generator-0.10.0 \
|
||||
phf_generator-0.11.2 \
|
||||
phf_macros-0.10.0 \
|
||||
phf_shared-0.10.0 \
|
||||
phf_shared-0.11.2 \
|
||||
pin-project-lite-0.2.13 \
|
||||
pin-utils-0.1.0 \
|
||||
pkg-config-0.3.27 \
|
||||
plist-1.6.0 \
|
||||
png-0.17.10 \
|
||||
powerfmt-0.2.0 \
|
||||
ppv-lite86-0.2.17 \
|
||||
precomputed-hash-0.1.1 \
|
||||
proc-macro-error-1.0.4 \
|
||||
proc-macro-error-attr-1.0.4 \
|
||||
proc-macro-hack-0.5.20+deprecated \
|
||||
proc-macro2-1.0.70 \
|
||||
pulldown-cmark-0.9.3 \
|
||||
pure-rust-locales-0.7.0 \
|
||||
qoi-0.4.1 \
|
||||
quick-error-2.0.1 \
|
||||
quick-xml-0.17.2 \
|
||||
quick-xml-0.31.0 \
|
||||
quickxml_to_serde-0.5.0 \
|
||||
quote-1.0.33 \
|
||||
rand-0.7.3 \
|
||||
rand-0.8.5 \
|
||||
rand_chacha-0.2.2 \
|
||||
rand_chacha-0.3.1 \
|
||||
rand_core-0.5.1 \
|
||||
rand_core-0.6.4 \
|
||||
rand_hc-0.2.0 \
|
||||
rayon-1.8.0 \
|
||||
rayon-core-1.12.0 \
|
||||
redox_syscall-0.4.1 \
|
||||
regex-1.10.2 \
|
||||
regex-automata-0.4.3 \
|
||||
regex-syntax-0.7.5 \
|
||||
regex-syntax-0.8.2 \
|
||||
relative-path-1.9.0 \
|
||||
reqwest-0.11.22 \
|
||||
ring-0.17.7 \
|
||||
roxmltree-0.18.1 \
|
||||
rust-stemmers-1.2.0 \
|
||||
rustc-demangle-0.1.23 \
|
||||
rustc-hash-1.1.0 \
|
||||
rustc_version-0.4.0 \
|
||||
rustix-0.38.28 \
|
||||
rustls-0.21.10 \
|
||||
rustls-pemfile-1.0.4 \
|
||||
rustls-webpki-0.101.7 \
|
||||
ryu-1.0.16 \
|
||||
safemem-0.3.3 \
|
||||
same-file-1.0.6 \
|
||||
schannel-0.1.22 \
|
||||
scopeguard-1.2.0 \
|
||||
sct-0.7.1 \
|
||||
security-framework-2.9.2 \
|
||||
security-framework-sys-2.9.1 \
|
||||
semver-1.0.20 \
|
||||
serde-1.0.193 \
|
||||
serde_derive-1.0.193 \
|
||||
serde_json-1.0.108 \
|
||||
serde_spanned-0.6.4 \
|
||||
serde_urlencoded-0.7.1 \
|
||||
serde_yaml-0.9.27 \
|
||||
sha-1-0.8.2 \
|
||||
sha2-0.10.8 \
|
||||
simd-adler32-0.3.7 \
|
||||
similar-2.3.0 \
|
||||
siphasher-0.3.11 \
|
||||
skeptic-0.13.7 \
|
||||
slab-0.4.9 \
|
||||
slug-0.1.5 \
|
||||
smallvec-1.11.2 \
|
||||
socket2-0.4.10 \
|
||||
socket2-0.5.5 \
|
||||
spin-0.9.8 \
|
||||
string_cache-0.8.7 \
|
||||
string_cache_codegen-0.5.2 \
|
||||
strsim-0.10.0 \
|
||||
svg_metadata-0.5.0 \
|
||||
syn-1.0.109 \
|
||||
syn-2.0.41 \
|
||||
syntect-5.1.0 \
|
||||
system-configuration-0.5.1 \
|
||||
system-configuration-sys-0.5.0 \
|
||||
tar-0.4.40 \
|
||||
tempfile-3.8.1 \
|
||||
tendril-0.4.3 \
|
||||
tera-1.19.1 \
|
||||
termcolor-1.4.0 \
|
||||
test-case-3.3.1 \
|
||||
test-case-core-3.3.1 \
|
||||
test-case-macros-3.3.1 \
|
||||
textwrap-0.16.0 \
|
||||
thiserror-1.0.51 \
|
||||
thiserror-impl-1.0.51 \
|
||||
tiff-0.9.0 \
|
||||
time-0.3.30 \
|
||||
time-core-0.1.2 \
|
||||
time-macros-0.2.15 \
|
||||
tinystr-0.7.5 \
|
||||
tinyvec-1.6.0 \
|
||||
tinyvec_macros-0.1.1 \
|
||||
tokio-1.35.0 \
|
||||
tokio-native-tls-0.3.1 \
|
||||
tokio-rustls-0.24.1 \
|
||||
tokio-util-0.7.10 \
|
||||
toml-0.5.11 \
|
||||
toml-0.8.8 \
|
||||
toml_datetime-0.6.5 \
|
||||
toml_edit-0.21.0 \
|
||||
tower-service-0.3.2 \
|
||||
tracing-0.1.40 \
|
||||
tracing-core-0.1.32 \
|
||||
try-lock-0.2.5 \
|
||||
typenum-1.17.0 \
|
||||
ucd-trie-0.1.6 \
|
||||
unic-char-property-0.9.0 \
|
||||
unic-char-range-0.9.0 \
|
||||
unic-common-0.9.0 \
|
||||
unic-langid-0.9.4 \
|
||||
unic-langid-impl-0.9.4 \
|
||||
unic-segment-0.9.0 \
|
||||
unic-ucd-segment-0.9.0 \
|
||||
unic-ucd-version-0.9.0 \
|
||||
unicase-2.7.0 \
|
||||
unicode-bidi-0.3.14 \
|
||||
unicode-ident-1.0.12 \
|
||||
unicode-normalization-0.1.22 \
|
||||
unicode-segmentation-1.10.1 \
|
||||
unsafe-libyaml-0.2.10 \
|
||||
untrusted-0.9.0 \
|
||||
url-2.5.0 \
|
||||
utf-8-0.7.6 \
|
||||
utf8parse-0.2.1 \
|
||||
vcpkg-0.2.15 \
|
||||
version_check-0.9.4 \
|
||||
walkdir-2.4.0 \
|
||||
want-0.3.1 \
|
||||
wasi-0.9.0+wasi-snapshot-preview1 \
|
||||
wasi-0.11.0+wasi-snapshot-preview1 \
|
||||
wasm-bindgen-0.2.89 \
|
||||
wasm-bindgen-backend-0.2.89 \
|
||||
wasm-bindgen-futures-0.4.39 \
|
||||
wasm-bindgen-macro-0.2.89 \
|
||||
wasm-bindgen-macro-support-0.2.89 \
|
||||
wasm-bindgen-shared-0.2.89 \
|
||||
web-sys-0.3.66 \
|
||||
webp-0.2.6 \
|
||||
webpki-roots-0.25.3 \
|
||||
weezl-0.1.7 \
|
||||
winapi-0.2.8 \
|
||||
winapi-0.3.9 \
|
||||
winapi-build-0.1.1 \
|
||||
winapi-i686-pc-windows-gnu-0.4.0 \
|
||||
winapi-util-0.1.6 \
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0 \
|
||||
windows-core-0.51.1 \
|
||||
windows-sys-0.45.0 \
|
||||
windows-sys-0.48.0 \
|
||||
windows-sys-0.52.0 \
|
||||
windows-targets-0.42.2 \
|
||||
windows-targets-0.48.5 \
|
||||
windows-targets-0.52.0 \
|
||||
windows_aarch64_gnullvm-0.42.2 \
|
||||
windows_aarch64_gnullvm-0.48.5 \
|
||||
windows_aarch64_gnullvm-0.52.0 \
|
||||
windows_aarch64_msvc-0.42.2 \
|
||||
windows_aarch64_msvc-0.48.5 \
|
||||
windows_aarch64_msvc-0.52.0 \
|
||||
windows_i686_gnu-0.42.2 \
|
||||
windows_i686_gnu-0.48.5 \
|
||||
windows_i686_gnu-0.52.0 \
|
||||
windows_i686_msvc-0.42.2 \
|
||||
windows_i686_msvc-0.48.5 \
|
||||
windows_i686_msvc-0.52.0 \
|
||||
windows_x86_64_gnu-0.42.2 \
|
||||
windows_x86_64_gnu-0.48.5 \
|
||||
windows_x86_64_gnu-0.52.0 \
|
||||
windows_x86_64_gnullvm-0.42.2 \
|
||||
windows_x86_64_gnullvm-0.48.5 \
|
||||
windows_x86_64_gnullvm-0.52.0 \
|
||||
windows_x86_64_msvc-0.42.2 \
|
||||
windows_x86_64_msvc-0.48.5 \
|
||||
windows_x86_64_msvc-0.52.0 \
|
||||
winnow-0.5.28 \
|
||||
winreg-0.50.0 \
|
||||
winres-0.1.12 \
|
||||
ws-0.9.2 \
|
||||
ws2_32-sys-0.2.1 \
|
||||
xattr-1.1.3 \
|
||||
xmlparser-0.13.6 \
|
||||
yada-0.5.0 \
|
||||
yaml-rust-0.4.5 \
|
||||
zerocopy-0.7.31 \
|
||||
zerocopy-derive-0.7.31 \
|
||||
zune-inflate-0.2.54
|
1010
www/zola/distinfo
1010
www/zola/distinfo
File diff suppressed because it is too large
Load Diff
@ -1,123 +1,102 @@
|
||||
--- cargo-crates/ring-0.16.20/Cargo.toml.orig 2021-01-16 08:59:14 UTC
|
||||
+++ cargo-crates/ring-0.16.20/Cargo.toml
|
||||
@@ -62,10 +62,10 @@ wasm32_c = []
|
||||
version = "0.3.37"
|
||||
features = ["Crypto", "Window"]
|
||||
--- cargo-crates/ring-0.17.7/Cargo.toml.orig 1970-01-01 00:00:01 UTC
|
||||
+++ cargo-crates/ring-0.17.7/Cargo.toml
|
||||
@@ -215,7 +215,7 @@ wasm32_unknown_unknown_js = ["getrandom/js"]
|
||||
unstable-testing-arm-no-neon = []
|
||||
wasm32_unknown_unknown_js = ["getrandom/js"]
|
||||
|
||||
-[target."cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(target_arch = \"aarch64\", target_arch = \"arm\")))".dependencies.libc]
|
||||
+[target."cfg(all(any(target_os = \"android\", target_os = \"freebsd\", target_os = \"linux\"), any(target_arch = \"aarch64\", target_arch = \"arm\")))".dependencies.libc]
|
||||
version = "0.2.148"
|
||||
default-features = false
|
||||
-[target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\"))))".dependencies.spin]
|
||||
+[target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"freebsd\", target_os = \"fuchsia\", target_os = \"linux\"))))".dependencies.spin]
|
||||
version = "0.5.2"
|
||||
default-features = false
|
||||
-[target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dependencies.libc]
|
||||
+[target."cfg(any(target_os = \"android\", target_os = \"freebsd\", target_os = \"linux\"))".dependencies.libc]
|
||||
version = "0.2.69"
|
||||
default-features = false
|
||||
|
||||
--- cargo-crates/ring-0.16.20/src/cpu.rs.orig 2020-11-30 20:30:03 UTC
|
||||
+++ cargo-crates/ring-0.16.20/src/cpu.rs
|
||||
@@ -31,7 +31,7 @@ pub(crate) fn features() -> Features {
|
||||
target_arch = "x86_64",
|
||||
all(
|
||||
any(target_arch = "aarch64", target_arch = "arm"),
|
||||
- any(target_os = "android", target_os = "fuchsia", target_os = "linux")
|
||||
+ any(target_os = "android", target_os = "fuchsia", target_os = "freebsd", target_os = "linux")
|
||||
)
|
||||
))]
|
||||
{
|
||||
@@ -49,7 +49,7 @@ pub(crate) fn features() -> Features {
|
||||
|
||||
#[cfg(all(
|
||||
any(target_arch = "aarch64", target_arch = "arm"),
|
||||
- any(target_os = "android", target_os = "fuchsia", target_os = "linux")
|
||||
+ any(target_os = "android", target_os = "fuchsia", target_os = "freebsd", target_os = "linux")
|
||||
))]
|
||||
{
|
||||
arm::setup();
|
||||
@@ -62,28 +62,58 @@ pub(crate) fn features() -> Features {
|
||||
--- cargo-crates/ring-0.17.7/src/cpu/arm.rs.orig 1973-11-29 21:33:09 UTC
|
||||
+++ cargo-crates/ring-0.17.7/src/cpu/arm.rs
|
||||
@@ -26,29 +26,59 @@
|
||||
// detection.
|
||||
|
||||
pub(crate) mod arm {
|
||||
#[cfg(all(
|
||||
- any(target_os = "android", target_os = "linux"),
|
||||
+ any(target_os = "android", target_os = "freebsd", target_os = "linux"),
|
||||
any(target_arch = "aarch64", target_arch = "arm")
|
||||
))]
|
||||
pub fn setup() {
|
||||
use libc::c_ulong;
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ use libc::{c_int, c_void};
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ extern crate std;
|
||||
#[cfg(all(
|
||||
- any(target_os = "android", target_os = "linux"),
|
||||
+ any(target_os = "android", target_os = "freebsd", target_os = "linux"),
|
||||
any(target_arch = "aarch64", target_arch = "arm"),
|
||||
not(target_env = "uclibc")
|
||||
))]
|
||||
fn detect_features() -> u32 {
|
||||
use libc::c_ulong;
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ use libc::{c_int, c_void};
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ extern crate std;
|
||||
|
||||
// XXX: The `libc` crate doesn't provide `libc::getauxval` consistently
|
||||
// across all Android/Linux targets, e.g. musl.
|
||||
+ #[cfg(any(target_os = "android", target_os = "linux"))]
|
||||
extern "C" {
|
||||
fn getauxval(type_: c_ulong) -> c_ulong;
|
||||
}
|
||||
// XXX: The `libc` crate doesn't provide `libc::getauxval` consistently
|
||||
// across all Android/Linux targets, e.g. musl.
|
||||
+ #[cfg(any(target_os = "android", target_os = "linux"))]
|
||||
extern "C" {
|
||||
fn getauxval(type_: c_ulong) -> c_ulong;
|
||||
}
|
||||
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ extern "C" {
|
||||
+ fn elf_aux_info(aux: c_int, buf: *mut c_void, buflen: c_int) -> c_int;
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ extern "C" {
|
||||
+ fn elf_aux_info(aux: c_int, buf: *mut c_void, buflen: c_int) -> c_int;
|
||||
+ }
|
||||
+
|
||||
+ #[cfg(not(target_os = "freebsd"))]
|
||||
const AT_HWCAP: c_ulong = 16;
|
||||
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ const AT_HWCAP: c_int = 25;
|
||||
+
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
const HWCAP_NEON: c_ulong = 1 << 1;
|
||||
|
||||
#[cfg(target_arch = "arm")]
|
||||
const HWCAP_NEON: c_ulong = 1 << 12;
|
||||
|
||||
+ #[cfg(not(target_os = "freebsd"))]
|
||||
let caps = unsafe { getauxval(AT_HWCAP) };
|
||||
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ let caps: c_ulong = 0;
|
||||
+
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ {
|
||||
+ let buffer : *mut c_void = { let t: *const c_ulong = ∩︀ t} as *mut c_void;
|
||||
+ unsafe {
|
||||
+ let _ret = elf_aux_info(
|
||||
+ AT_HWCAP,
|
||||
+ buffer,
|
||||
+ std::mem::size_of_val(&caps) as i32
|
||||
+ );
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ #[cfg(not(target_os = "freebsd"))]
|
||||
const AT_HWCAP: c_ulong = 16;
|
||||
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ const AT_HWCAP: c_int = 25;
|
||||
+
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
const HWCAP_NEON: c_ulong = 1 << 1;
|
||||
|
||||
// We assume NEON is available on AARCH64 because it is a required
|
||||
// feature.
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
@@ -67,11 +97,26 @@ fn detect_features() -> u32 {
|
||||
#[cfg(target_arch = "arm")]
|
||||
const HWCAP_NEON: c_ulong = 1 << 12;
|
||||
|
||||
+ #[cfg(not(target_os = "freebsd"))]
|
||||
let caps = unsafe { getauxval(AT_HWCAP) };
|
||||
const OFFSET: c_ulong = 0;
|
||||
|
||||
- #[cfg(target_arch = "arm")]
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ let caps: c_ulong = 0;
|
||||
+ let buffer : *mut c_void = { let t: *const c_ulong = ∩︀ t} as *mut c_void;
|
||||
+
|
||||
+ #[cfg(not(target_os = "freebsd"))]
|
||||
let caps = {
|
||||
const AT_HWCAP2: c_ulong = 26;
|
||||
unsafe { getauxval(AT_HWCAP2) }
|
||||
};
|
||||
+
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ {
|
||||
+ let buffer : *mut c_void = { let t: *const c_ulong = ∩︀ t} as *mut c_void;
|
||||
+ const AT_HWCAP2: c_int = 26;
|
||||
+ unsafe {
|
||||
+ let _ret = elf_aux_info(
|
||||
+ AT_HWCAP,
|
||||
+ AT_HWCAP2,
|
||||
+ buffer,
|
||||
+ std::mem::size_of_val(&caps) as i32
|
||||
+ );
|
||||
+ }
|
||||
+ };
|
||||
+ }
|
||||
+
|
||||
// We assume NEON is available on AARCH64 because it is a required
|
||||
// feature.
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
@@ -100,11 +130,26 @@ pub(crate) mod arm {
|
||||
#[cfg(target_arch = "arm")]
|
||||
const OFFSET: c_ulong = 0;
|
||||
|
||||
- #[cfg(target_arch = "arm")]
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ let buffer : *mut c_void = { let t: *const c_ulong = ∩︀ t} as *mut c_void;
|
||||
+
|
||||
+ #[cfg(not(target_os = "freebsd"))]
|
||||
let caps = {
|
||||
const AT_HWCAP2: c_ulong = 26;
|
||||
unsafe { getauxval(AT_HWCAP2) }
|
||||
};
|
||||
+
|
||||
+ #[cfg(target_os = "freebsd")]
|
||||
+ {
|
||||
+ const AT_HWCAP2: c_int = 26;
|
||||
+ unsafe {
|
||||
+ let _ret = elf_aux_info(
|
||||
+ AT_HWCAP2,
|
||||
+ buffer,
|
||||
+ std::mem::size_of_val(&caps) as i32
|
||||
+ );
|
||||
+ };
|
||||
+ }
|
||||
|
||||
const HWCAP_AES: c_ulong = 1 << 0 + OFFSET;
|
||||
const HWCAP_PMULL: c_ulong = 1 << 1 + OFFSET;
|
||||
const HWCAP_AES: c_ulong = 1 << 0 + OFFSET;
|
||||
const HWCAP_PMULL: c_ulong = 1 << 1 + OFFSET;
|
||||
|
Loading…
Reference in New Issue
Block a user