crypto/rc4: disable assembly implementation for nacl/arm.

It uses an unsupported addressing mode.

LGTM=iant, rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/106370043
This commit is contained in:
Shenghou Ma 2014-07-10 15:15:16 -04:00
parent 837bc4e502
commit d1fee626f6
3 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !nacl
#include "../../../cmd/ld/textflag.h"
// Registers

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build amd64 amd64p32 arm 386
// +build amd64 amd64p32 arm,!nacl 386
package rc4

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !amd64,!amd64p32,!arm,!386
// +build !amd64,!amd64p32,!arm,!386 arm,nacl
package rc4