cbindgen does not produce deterministic header files (#261)

This commit is contained in:
Jack May 2020-08-11 16:09:36 -07:00 committed by GitHub
parent d279eb48e5
commit 706e619bdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ cd "$(dirname "$0")/.."
./do.sh clippy token -- --deny=warnings
SPL_CBINDGEN=1 ./do.sh build-lib token -D warnings
git diff --exit-code token/program/inc/token.h
# git diff --exit-code token/program/inc/token.h
cc token/program/inc/token.h -o target/token.gch
./do.sh build token

View File

@ -43,7 +43,7 @@ typedef enum Token_TokenInstruction_Tag {
* 1.
* * If supply is non-zero: `[writable]` The account to hold all the newly minted tokens.
* * If supply is zero: `[]` The owner/multisignature of the mint.
* 2. `[]` (optional) The owner/multisignature of the mint if supply is non-zero, if
* 2. `[]` (optional) The owner/multisignature of the mint if supply is non-zero, if
* present then further minting is supported.
*
*/

View File

@ -29,7 +29,7 @@ pub enum TokenInstruction {
/// 1.
/// * If supply is non-zero: `[writable]` The account to hold all the newly minted tokens.
/// * If supply is zero: `[]` The owner/multisignature of the mint.
/// 2. `[]` (optional) The owner/multisignature of the mint if supply is non-zero, if
/// 2. `[]` (optional) The owner/multisignature of the mint if supply is non-zero, if
/// present then further minting is supported.
///
InitializeMint {