cbindgen does not produce deterministic header files (#261)
This commit is contained in:
parent
d279eb48e5
commit
706e619bdd
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue