2020-08-14 13:05:00 by Tobias Nygren | Files touched by this commit (7) |
Log message:
rust/cargo: replace "--frozen --locked" with "--offline" in \
various places
The intent of "--frozen --locked" was to not use the network, but the new
"--offline" option is better suited for this purpose.
It for example allows us to patch Cargo.toml if necessary without having
to regen checksums.
|
2020-07-31 03:20:43 by Maya Rashish | Files touched by this commit (2) | |
Log message:
cbindgen: update to 0.14.3
* Introduce cbindgen:ignore comment annotation, to allow ignoring items or \
modules. (#519)
* Support for casts in constant expressions. (#526)
* Make a non-fatal error a warning message. (#535)
* Add a --metadata option to the CLI, to allow passing pre-computed cargo \
metadata. (#538)
|
2020-06-14 17:33:29 by Nia Alarie | Files touched by this commit (17) |
Log message:
Rename rust-bin's PKGNAME to rust-bin. Add rust.mk for rust packages.
This allows rust-bin and rust to coexist in bulk builds (for testing, etc),
but the packages still may not be installed at the same time.
rust.mk as a solution for picking the correct rust variant was suggested
by gdt@. It is intended to be included directly by packages that do not
use cargo.mk, and indirectly by packages that do use cargo.mk.
rust.mk provides one user-settable variable:
RUST_TYPE
as before, whether to bootstrap rust from source or use
official binaries. may be "src" or "bin"
And two package-settable variables:
RUST_REQ
the minimum version of Rust required by the package.
defaults to "1.20.0"
RUST_RUNTIME
whether Rust is a runtime dependency, may be "yes" or "no"
|
2020-06-03 10:53:04 by Ryo ONODERA | Files touched by this commit (2) |
Log message:
cbindgen: Update to 0.14.2
Changelog:
0.14.2
* Fixed minimal dependency versions. (#507)
* Add an option to write pragma once. (#511)
* Fix submodule scanning for implicit Rust 2018 modules. (#512)
* Fix dependency parsing / scanning to handle target-specific versions. (#513)
* Use heck for case conversion. (#514)
* Add support for verbatim content after includes. (#416)
* Allow to add attributes to most generated functions. (#515)
0.14.1
* Handle mangling pointers. (#508)
* Unconditionally generate a return statement in partialeq implementations. (#509)
0.14.0
* Minor tweak at how [export.exclude] is handled to allow excluding
generic instantiations in C mode. (#501)
* Documented cpp_compat option. (#496)
* Fixed a panic when parsing associated constants for a built-in type. (#494)
0.13.2
* Constants now have suitable documentation. (#471)
* Fixed some C warnings by emitting void when there are no arguments. (#470)
* Avoids reading cargo.toml when not needed, which can cause panics in \
workspace situations.
* Only write `default` cases if the switch is not exhaustive. (#475)
* Some warnings have been refined. (#477)
* Code generation for static arrays has been fixed. (#479)
* Opt-in support for constexpr in constants. (#481)
* Fix C code generation and some warnings when extremely large constants are \
used. (#490)
* Proper escaping of enum variants and fields. (#483)
* Added support for RefCell (as an opaque type) and Cell. (#489)
5a4d74b
ir: escape export_name while writing source of EnumVariant
|
2020-03-06 15:22:14 by Ryo ONODERA | Files touched by this commit (2) |
Log message:
cbindgen: Update to 0.13.1
Changelog:
0.13.1
* Support #[cfg] on individual enum variants. (#469)
0.13.0
* Support 'swift_name' attributes on generated functions (#449)
* Add [export.pre_body] to config (#452)
* Handle new line in doc attribute (#454)
* Add support for `Self` in tagged enums, structs and unions (#455, #455, #456)
* Make sentinel variant respect regular config (#459)
* Fix layout of tagged enums with size under some configurations (#463)
* Add an option to allow configuring the order of function names in generated \
headers (#466)
0.12.2
Not available
|
2020-01-19 19:20:46 by Maya Rashish | Files touched by this commit (6) |
Log message:
Rename EFFECTIVE_MAKE_JOBS -> _MAKE_JOBS_N, suggested by gdt.
I am under the impression we use _THING to mean "defined by the
implementation", which would be similar to the C meaning of __ prefix,
rather than "private to this file".
|
2020-01-19 17:52:47 by Maya Rashish | Files touched by this commit (8) |
Log message:
Make cargo packages respect MAKE_JOBS
|
2020-01-09 15:56:28 by Ryo ONODERA | Files touched by this commit (2) |
Log message:
cbindgen: Update to 0.12.1
Changelog:
0.12.1
* Added support for #[repr*64)] on enums. \
https://github.com/eqrion/cbindgen/pull/441
* Added support to generate plain enums instead of enum classes for C++. \
https://github.com/eqrion/cbindgen/pull/443
* Fixed dependency resolution with lockfile v2. \
https://github.com/eqrion/cbindgen/pull/438
0.12.0
* Added support for #[repr(align)] and #[repr(packed)] on structs and unions. \
https://github.com/eqrion/cbindgen/pull/431
* Added support to generate copy-assignment operators for enums. \
https://github.com/eqrion/cbindgen/pull/434
0.11.1
Not available
0.11.0
* Made rust char map to uint32_t. https://github.com/eqrion/cbindgen/pull/424
|
2019-12-03 17:29:39 by Min Sik Kim | Files touched by this commit (2) |
Log message:
lang/rust/cargo.mk: Remove default DIST_SUBDIR
Some packages using cargo.mk have distfiles not from
crates.io.
|
2019-12-03 16:50:09 by Min Sik Kim | Files touched by this commit (2) |
Log message:
devel/cbindgen: Update to 0.10.1
Changes:
* Initialize struct literal with list-initializer for C++11 standard.
* Surround namespace with __cplusplus ifdef in cpp_compat mode.
* Add support for --quiet flag.
* Map char to char32_t.
* Improve binding_crate_ref() error message.
* avoid prematurely returning during expansion.
* Add support for adding "using namespace" statements.
* Improved error message for missing config file.
* Add missing header for char32_t.
|