Skip to content

Commit

Permalink
cbindgen does not produce deterministic header files (solana-labs#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmay committed Aug 11, 2020
1 parent d279eb4 commit 706e619
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci/token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion token/program/inc/token.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
*/
Expand Down
2 changes: 1 addition & 1 deletion token/program/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 706e619

Please sign in to comment.